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

chiplastique jeremyj at imtc.gatech.edu
Tue May 18 08:25:01 PDT 2004


Thanks!!  That did the trick.  I wish I had asked hours earlier...

--- In antlr-interest at yahoogroups.com, Mark Lentczner <markl at g...> 
wrote:
> 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 w...
> 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