[antlr-interest] Get AST info of a previos treeparser

Monty Zukowski monty at codetransform.com
Mon Aug 30 17:14:42 PDT 2004


On Aug 30, 2004, at 10:22 AM, Joan Pujol wrote:

> But if I use buildAST=true (what I need) #root is resolved to root_AST
> that it's null.
> How can I access the root_AST_in when I have buildAST=true? Because in
> the code exist, but I don't know how to get the value.

See http://www.antlr.org/doc/trees.html#_bb9

Use #root_in.

Monty


ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit -- 
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list