|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Ctr+Clik [message #670996 is a reply to message #670984] |
Mon, 16 May 2011 13:48 |
Kapusta Missing name Messages: 48 Registered: March 2011 |
Member |
|
|
hi,
in our eclipse application when we have :
0-// e1 is less than e2 in the ordering
1-pred lt [e1, e2: elem] { e1 in prevs[e2] }
2-
3-// e1 is greater than e2 in the ordering
4-pred gt [e1, e2: elem] { e1 in nexts[e2] }
5-
6-// e1 is less than or equal to e2 in the ordering
7-pred lte [e1, e2: elem] { e1=e2 || lt [e1,e2] }
8-
9-// e1 is greater than or equal to e2 in the ordering
10-pred gte [e1, e2: elem] { e1=e2 || gt [e1,e2] }
and when we click on any e2, we arrived on the first (line 1).
On our grammar, we have :
PredDecl returns Predicate:
"private"? "pred" (ref=Ref dot=Dot)? predicateName=PredicateName (
leftS=LeftSquareBracketKeyword (decl+=Decl (comma+=Comma decl+=Decl)*)? rightS=RightSquareBracketKeyword |
leftP=LeftParenthesis (decl+=Decl (comma+=Comma decl+=Decl)*)? rightP=RightParenthesis
)? block=Block ;
Decl:
("private")? ("disj")? propertyName+=PropertyName (comma+=Comma propertyName+=PropertyName)* colon=Colon ("disj")? expr=Expression ;
PropertyName:
name=Name;
Is this description complete?
Anyway,Thanks
Max&Yo
[Updated on: Mon, 16 May 2011 13:48] Report message to a moderator
|
|
|
Re: Ctr+Clik [message #671001 is a reply to message #670996] |
Mon, 16 May 2011 13:57 |
|
Hi,
no the relevant stuff is missing since you obviously have the problem that the references to a IDontKnowWhatButCanBeSomethingInADecl
from a block don't point to the right thing so you have as suggested by Luong and Sebastian adapt the the Scoping
that the reference point to the right thing.
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
[Updated on: Mon, 16 May 2011 14:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06050 seconds