[antlr-interest] Important: Can tree nodes be accessed inside rules?
Liviu U
liviu.u at gmail.com
Thu Jul 5 04:57:32 PDT 2007
hi,
I want to set a property of the generated node for a rule.
How can I access the node?
example:
cls:
modifier* 'class'^ ident .... { tree.ClassName = $ident.value; } ;
Is something like this available?
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070705/5fc0ab0f/attachment.html
More information about the antlr-interest
mailing list