AST f actory / heterogeneous tree enhancement
ngormley1974
ngormley at hotmail.com
Mon Oct 21 15:00:05 PDT 2002
Ter,
Great, I'll get to test this as soon as you can get it done......
> but we need to instead generate:
>
> AST v = (AST)astFactory.create(LT(1),"INTNode");
>
Just one comment: Could it call the factory creation with the class
of node e.g.
AST v = (AST)astFactory.create(LT(1),INTNode.class )
instead, so we get compile time checking.
Just my two cents...
Niall
More information about the antlr-interest
mailing list