[antlr-interest] How to store data in token?

Ilia Kantor ilia at obnovlenie.ru
Sat Dec 23 02:48:51 PST 2006


I'd like to adapt something like

body: command? BLOCK {$body.mainBlock=$BLOCK};

That is: evaluate and store important data in token.

Is such kind of thing possible ?


More information about the antlr-interest mailing list