[antlr-interest] Manully controlling the tree.

don_bradshaw60 don.bradshaw at quipoz.com
Mon Apr 5 19:33:14 PDT 2004


I hope someone can help..

I would like to build a tree walker that can walk a tree but not 
specify the entire tree structure. For example;

parmList:
  #(pl:PARM_LIST
     (
       #(p:PARM x:. ) 
     )+
  )
  ;

I don't care what x:. represents but I do what it to be included in 
the output tree. Infact, that seems to be what happens by default. 
However, I want the entire original subtree (the x_AST_in or a copy 
of it) to be inclued in the output tree. 

Can this be done? 

Cheers from Down Under,
Don.



 
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