[antlr-interest] tree construction ?

Chris Snyder snyder at t-vec.com
Tue Apr 1 12:05:23 PDT 2008


Hello,

 

I'm using Antlr 3 with this tree construction statement

 

completeExpression

: expression ( NEWLINE! | SEMI! | (ASSIGN^ expression (NEWLINE!|SEMI!)) )

;

 

I would like the order of the expression children of the root ASSIGN node to
be reversed. Is there a simple way to do that?

 

Thanks,

Chris

 

T-VEC Technologies, Inc.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080401/1c18ee90/attachment.html 


More information about the antlr-interest mailing list