[antlr-interest] Re: A way to access individual expressions s tore d in ELIST?

mzukowski at yci.com mzukowski at yci.com
Thu May 1 08:03:18 PDT 2003


Keep a counter, or put them in your own list if you want to access them from
a list.

Monty

-----Original Message-----
From: rustydstone [mailto:rustydstone at yahoo.com]
Sent: Wednesday, April 30, 2003 6:35 PM
To: antlr-interest at yahoogroups.com
Subject: [antlr-interest] Re: A way to access individual expressions
store d in ELIST?


--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> put a label on them:
> 
> elist
>        : #( ELIST (e:expression {/*do something with expression in this
> action*/})* )
>        ;

Thanks, but how do I refer to the 1st, 2nd, etc expressions in the elist?







 

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


 

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




More information about the antlr-interest mailing list