Doubt about cross-references [message #1674618] |
Sat, 14 March 2015 20:45 |
Fernando Costa Messages: 5 Registered: June 2014 Location: Brazil |
Junior Member |
|
|
I'm trying Xtext for the first time, but I got a little bit confused using cross-references. Considering the 15 Minutes Tutorial, why cross-references don't work when I change the name of the entity's "name" property? For example:
Entity:
'entity' id = ID ('extends' superType = [Entity])? '{'
(features += Feature)*
'}'
;
I know "[Entity]" is just a short for "[Entity|ID]", but how Xtext knows which property matching the ID terminal rule must be used? Have we always to set a "name" property? How could we change this behaviour?
Thanks!
[Updated on: Sat, 14 March 2015 20:55] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01863 seconds