[antlr-interest] Root node transformation

Jeff Dahl jddahl at micron.com
Mon Jun 20 13:21:04 PDT 2005


Bryan Ewbank wrote:

>// #(A (# B C D ) (.)* ) ==>  #(B C D ... )
>levelizer:
>  #( A
>       #( B C D )
>       { ## = #B; }
>       (
>           extra:. { ##->addChild(#extra); }
>       )*
>   )
>  
>
Thanks for the quick response.  Can you point me to where the ## is 
documented further?

Jeff Dahl


More information about the antlr-interest mailing list