Cross-reference issues [message #1724499] |
Wed, 24 February 2016 04:12  |
Eclipse User |
|
|
|
Hi,
I have issues with the cross-references to develop a simple editor with variables.
VariableDeclaration:
(prefix='ext' | prefix='in' | prefix='out')? 'var' name=STR ('=' value=Expression)?
;
VariableAssignment:
ref=[VariableDeclaration|STR] '=' value=INT
;
while editor validates the code, VariableAssignment class have the "ref" attribute initialized. But when you run the script, value is the only attribute initialized.
My java classes are generated by a .mwe2 file. Do I have something specific to add in this file to take care of cross-referencing ? Or something else in an other file ?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04414 seconds