Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Making QualifiedNamed reference an EObject((probably used scope to do the linking but how?))
icon5.gif  Making QualifiedNamed reference an EObject [message #1388888] Fri, 27 June 2014 03:57
Félix SILINOU KAMDEM is currently offline Félix SILINOU KAMDEMFriend
Messages: 96
Registered: April 2013
Member
Hi,

I want to write a grammar where qualified named is actually an EObject. Technicaly I want this
Element: '{' ElementID (',' ElementID)* '}' ;

With ElementID as a qualifiedNamed which should refer to an EObject.

I supposed that I shoul make a mapping in the scope or should I do something like this
Element: '{' elt=[ecore::EObject|QualifiedName] (',' elts+=[ecore::EObject|QualifiedName])* '}' ;


Any Help will be really appreciated.
Best Regards,
Felix
Previous Topic:DefaultGlobalScopeProvider and "class path mechanism"
Next Topic:Making QualifiedNamed reference an EObject
Goto Forum:
  


Current Time: Wed Dec 11 16:12:22 GMT 2019

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

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

Back to the top