Why ScopeProvider is missing when Xbase is used? [message #1044088] |
Thu, 18 April 2013 09:27  |
Eclipse User |
|
|
|
Hi,
I'm using Xtext 2.3.1 with Eclipse 4.2.2. I have noticed that if my grammar uses Xbase (grammar xtext.MyDsl with org.eclipse.xtext.xbase.Xbase), then the packages xtext.mydsl.generator and xtext.mydsl.scoping are not generated. I understand that the generator package is not generated to encourage using the model inferrer instead, but do I suppose to resolve all scoping issues using the inferrer?
For example, I have this piece of grammar:
MethodContract:
'method' methodName=[types::JvmOperation]
...
;
Before I migrated to Eclipse 4.2.2 (from 3.6) I customized MyDslScopeProvider so methodName can accept the methods of a particular class (http://www.eclipse.org/forums/index.php/m/1018110/#msg_1018110). Can the model inferrer handle such a case?
Thanks!
Oren
|
|
|
|
Powered by
FUDForum. Page generated in 0.03963 seconds