[antlr-interest] Referencing upper tree node from lower level

rustydstone rustydstone at yahoo.com
Fri May 2 12:40:42 PDT 2003


Hi,

Please see example below.

Thanks

-----------------------------------------------------

[...]
| #(METHOD_CALL primaryExpression elist)
...
;
elist
: #( ELIST (expression
              {
              // is it possible to determine what 
              // prrimaryExpression this expression
              // belongs to from here?
              }
           )*
   )
;


 

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




More information about the antlr-interest mailing list