[antlr-interest] A way to access individual expressions store d in ELIST?

mzukowski at yci.com mzukowski at yci.com
Wed Apr 30 15:57:17 PDT 2003


put a label on them:

elist
       : #( ELIST (e:expression {/*do something with expression in this
action*/})* )
       ;

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


Hi,

When implenting METHOD_CALL from java.tree.g, how can I access
individual expressions stored in ELIST?

Thanks

------------------------------------------------------------
[...]
       | #(METHOD_CALL primaryExpression elist)
       ...
       ;       
elist
       : #( ELIST (expression)* )
       ;




 

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