Skip to main content



      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 #1388890] Thu, 26 June 2014 23:57 Go to next message
Eclipse UserFriend
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
Re: Making QualifiedNamed reference an EObject [message #1388946 is a reply to message #1388890] Fri, 27 June 2014 01:54 Go to previous message
Eclipse UserFriend
Hi,

please give more context. what is the actual problem?
Previous Topic:Migrating mwe to mwe2 and the fragment file
Next Topic:"Pseudo" Langage C
Goto Forum:
  


Current Time: Tue Jul 15 03:41:01 EDT 2025

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

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

Back to the top