|Accessing enum literals in Generator [message #1063971]
||Mon, 17 June 2013 00:02
| chris yo
Registered: February 2013
I have the following grammar:|
True = 'not' |
False = 'real'
'Hello' name=ID state=Boolean 'human' '!';
In my generator file, I want to compare the value of "state" to the literal value of the Boolean enum. Basically, I was looking for something like this:
What is the equivalent for it in Xtend?
Powered by FUDForum
. Page generated in 0.14222 seconds