[antlr-interest] Minor suggestion re. Java output

Olivier Lefevre lefevrol at yahoo.com
Mon Feb 4 16:29:04 PST 2008


Jim Idle wrote:
> A tree is not guaranteed to be any particular type or interface as the 
> tree adaptor can produce anything it likes. Hence it must be an object. 

In that case what is the purpose of

options {
         output = AST;
         ASTLabelType=CommonTree;
}

-- O.L.



More information about the antlr-interest mailing list