[antlr-interest] ast rewrite
Potje rode kool
everttigchelaar at gmail.com
Tue Jul 8 13:01:42 PDT 2008
I created a gramar and it works but I am parsing the following line:
The ast is created but it creates a CommonTree for every part of the import.
: 'import' qualifiedName ('.' '*')? ';'
-> ^('import' qualifiedName ('.' '*')? ';')
Is it posible to rewrite the ast so I get only one CommonTree?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest