Scope for EObject with Qualified Name [message #1064645] |
Thu, 20 June 2013 07:48  |
Eclipse User |
|
|
|
Hello,
I´m currently working on an Expression Grammar for my Statemachine. Therefore I implemented a Rule:
//FeatureCall returns Expression:
//ElementReferenceExpression ({FeatureCall.owner=current} '.' feature=[ecore::EObject]
//( =>operationCall?='('
//(args+=Expression (',' args+=Expression)*)?
//')')?
//)*
//;
For my "feature" Reference I get now all the EObjects. This works perfectly fine. But some EObjects contain other Objects just like action or events. I want them referenced by Fqn.
MY Idea was a Scope to solve this problem. Because i´m pretty new in Xtext and Java, i´m not sure hwo to implement this Scope.
I hope that somebody could help me!
Thx,
Günther
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07841 seconds