[antlr-interest] AST nodes in v3

Michiel Vermandel Michiel_Vermandel at axi.be
Mon Oct 9 03:01:40 PDT 2006


Hi,

In my Antlr v2.x parser I have something like

directive_statement:
   AXI_DIRECTIVE identifier
   { ## = #([DIRECTIVE_STATEMENT, 'directive_statement'], ##); }

with DIRECTIVE_STATEMENT in my token section.

How do I add such a node to the AST in Antlr v3?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20061009/13b33b69/attachment.html 


More information about the antlr-interest mailing list