[antlr-interest] Re: java.tree.g: A way to get parent of primaryExpression?

rustydstone rustydstone at yahoo.com
Sat May 17 07:38:46 PDT 2003

--- In antlr-interest at yahoogroups.com, "micheal_jor" <open.zone at v...>
> My immediate reaction is to ask "Why?". Why does the calculation of 
> the sub-expression of a UNARY_MINUS have to be different from the 
> calculation of the sub-expressions of a MINUS?

Generally speaking, you're absolutely right. In my particular case, I
may need this for date math (e.g. -2days = now - 2days, whatever).

Somewhat related question is here:

Thanks for the advice.


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

More information about the antlr-interest mailing list