[antlr-interest] Problems walking an AST for a method call

Mark Lentczner markl at glyphic.com
Mon May 17 14:36:47 PDT 2004


Basic idea:

method:          #(i:METHOD_ID
     { Array a; }   a=argList)
     { ...call i with a... }
     ;

argList
     returns [ Array a ]:
     { a = new Array; }
     ( { Value v; } v=expression { a.add(v); } )*
     ;

- Mark

Mark Lentczner
markl at wheatfarm.org
http://www.wheatfarm.org/



 
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