Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsprefix on Qualified Name
https://www.eclipse.org/forums/index.php/mv/msg/235334/716172/#msg_716172
I'm trying to have a prefixed qualified name. For example:
I can write "def: *a" without any problems, but if I try "ref: *a" , I get the error: "Couldn't resolve reference to Def 'a'." . It always ignores the prefix.
How can I overcome this?
Thanks!
]]>Lucy Sakhnenko2011-08-16T15:34:10-00:00Re: prefix on Qualified Name
https://www.eclipse.org/forums/index.php/mv/msg/235334/716192/#msg_716192
first the grammar should look
Ref:
'ref:' ref=[Def|QualifiedName]
;
if that does not hep
try to debug org.eclipse.xtext.naming.IQualifiedNameConverter.DefaultImpl
~Christian]]>Christian Dietrich2011-08-16T16:21:55-00:00Re: prefix on Qualified Name
https://www.eclipse.org/forums/index.php/mv/msg/235334/716197/#msg_716197
Thank you!]]>Lucy Sakhnenko2011-08-16T16:28:28-00:00Re: prefix on Qualified Name
https://www.eclipse.org/forums/index.php/mv/msg/235334/716203/#msg_716203
so ref=[Def|QUalifiedName] is "link to a Def and parse a QUalifiedName"
Since *ID cannot be represented as an ID you have to parse a QUalifiedName]]>Christian Dietrich2011-08-16T16:34:31-00:00