Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EVL fix guards marked as errors?
EVL fix guards marked as errors? [message #479282] Mon, 10 August 2009 14:17 Go to next message
Eclipse UserFriend
Originally posted by: nyoescape.gmail.com

Hi all,

I've started to add some more quick fixes, and I've noticed that though
the Epsilon book says (listing 5.6, page 73) that I can specify guards
both for constraint and fixes, the JDT editor for .evl files adds error
markers to fix guards. Here is an example:

context ForkNode {
constraint ... {
check : ...
message : ...
fix {
guard : self.incoming.size >= 1 <-- **right here**
title : ..
do {
...
}
}
}
}

Looking at the book a bit in more detail, I've noticed that no examples
in the book use guards in fixes. Should I report it as a documentation
bug, or is it a bug in the JDT editor or EVL parser?

Cheers,
Antonio
Re: EVL fix guards marked as errors? [message #479334 is a reply to message #479282] Mon, 10 August 2009 17:22 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Antonio,

I checked the EVL parser, and the rule for fix parts doesn't allow guard
parts. I think this is likely a documentation problem, but I'm not sure.

I'll file a bug report against EVL, and Dimitrios can comment when he's
back from vacation. I'll CC you.

Cheers,
Louis.

Antonio García Domínguez wrote:
> Hi all,
>
> I've started to add some more quick fixes, and I've noticed that though
> the Epsilon book says (listing 5.6, page 73) that I can specify guards
> both for constraint and fixes, the JDT editor for .evl files adds error
> markers to fix guards. Here is an example:
>
> context ForkNode {
> constraint ... {
> check : ...
> message : ...
> fix {
> guard : self.incoming.size >= 1 <-- **right here**
> title : ..
> do {
> ...
> }
> }
> }
> }
>
> Looking at the book a bit in more detail, I've noticed that no examples
> in the book use guards in fixes. Should I report it as a documentation
> bug, or is it a bug in the JDT editor or EVL parser?
>
> Cheers,
> Antonio
Re: EVL fix guards marked as errors? [message #479341 is a reply to message #479334] Mon, 10 August 2009 17:28 Go to previous messageGo to next message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
The bug report is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=286148

Louis Rose wrote:
> Hi Antonio,
>
> I checked the EVL parser, and the rule for fix parts doesn't allow guard
> parts. I think this is likely a documentation problem, but I'm not sure.
>
> I'll file a bug report against EVL, and Dimitrios can comment when he's
> back from vacation. I'll CC you.
>
> Cheers,
> Louis.
>
> Antonio García Domínguez wrote:
>> Hi all,
>>
>> I've started to add some more quick fixes, and I've noticed that though
>> the Epsilon book says (listing 5.6, page 73) that I can specify guards
>> both for constraint and fixes, the JDT editor for .evl files adds error
>> markers to fix guards. Here is an example:
>>
>> context ForkNode {
>> constraint ... {
>> check : ...
>> message : ...
>> fix {
>> guard : self.incoming.size >= 1 <-- **right here**
>> title : ..
>> do {
>> ...
>> }
>> }
>> }
>> }
>>
>> Looking at the book a bit in more detail, I've noticed that no examples
>> in the book use guards in fixes. Should I report it as a documentation
>> bug, or is it a bug in the JDT editor or EVL parser?
>>
>> Cheers,
>> Antonio
>
Re: EVL fix guards marked as errors? [message #479397 is a reply to message #479341] Mon, 10 August 2009 20:55 Go to previous message
Eclipse UserFriend
Originally posted by: nyoescape.gmail.com

Hi Louis,

>> I checked the EVL parser, and the rule for fix parts doesn't allow
>> guard parts. I think this is likely a documentation problem, but I'm
>> not sure.
>>
>> I'll file a bug report against EVL, and Dimitrios can comment when
>> he's back from vacation. I'll CC you.

Thanks! :-)

Regards,
Antonio
Re: EVL fix guards marked as errors? [message #573477 is a reply to message #479282] Mon, 10 August 2009 17:22 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Antonio,

I checked the EVL parser, and the rule for fix parts doesn't allow guard
parts. I think this is likely a documentation problem, but I'm not sure.

I'll file a bug report against EVL, and Dimitrios can comment when he's
back from vacation. I'll CC you.

Cheers,
Louis.

Antonio García Domínguez wrote:
> Hi all,
>
> I've started to add some more quick fixes, and I've noticed that though
> the Epsilon book says (listing 5.6, page 73) that I can specify guards
> both for constraint and fixes, the JDT editor for .evl files adds error
> markers to fix guards. Here is an example:
>
> context ForkNode {
> constraint ... {
> check : ...
> message : ...
> fix {
> guard : self.incoming.size >= 1 <-- **right here**
> title : ..
> do {
> ...
> }
> }
> }
> }
>
> Looking at the book a bit in more detail, I've noticed that no examples
> in the book use guards in fixes. Should I report it as a documentation
> bug, or is it a bug in the JDT editor or EVL parser?
>
> Cheers,
> Antonio
Re: EVL fix guards marked as errors? [message #573499 is a reply to message #479334] Mon, 10 August 2009 17:28 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
The bug report is here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=286148

Louis Rose wrote:
> Hi Antonio,
>
> I checked the EVL parser, and the rule for fix parts doesn't allow guard
> parts. I think this is likely a documentation problem, but I'm not sure.
>
> I'll file a bug report against EVL, and Dimitrios can comment when he's
> back from vacation. I'll CC you.
>
> Cheers,
> Louis.
>
> Antonio García Domínguez wrote:
>> Hi all,
>>
>> I've started to add some more quick fixes, and I've noticed that though
>> the Epsilon book says (listing 5.6, page 73) that I can specify guards
>> both for constraint and fixes, the JDT editor for .evl files adds error
>> markers to fix guards. Here is an example:
>>
>> context ForkNode {
>> constraint ... {
>> check : ...
>> message : ...
>> fix {
>> guard : self.incoming.size >= 1 <-- **right here**
>> title : ..
>> do {
>> ...
>> }
>> }
>> }
>> }
>>
>> Looking at the book a bit in more detail, I've noticed that no examples
>> in the book use guards in fixes. Should I report it as a documentation
>> bug, or is it a bug in the JDT editor or EVL parser?
>>
>> Cheers,
>> Antonio
>
Re: EVL fix guards marked as errors? [message #573521 is a reply to message #479341] Mon, 10 August 2009 20:55 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Hi Louis,

>> I checked the EVL parser, and the rule for fix parts doesn't allow
>> guard parts. I think this is likely a documentation problem, but I'm
>> not sure.
>>
>> I'll file a bug report against EVL, and Dimitrios can comment when
>> he's back from vacation. I'll CC you.

Thanks! :-)

Regards,
Antonio
Previous Topic:isSubstringOf?
Next Topic:Checking whether two objects have the same type
Goto Forum:
  


Current Time: Fri Apr 19 20:15:14 GMT 2024

Powered by FUDForum. Page generated in 0.02757 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top