[antlr-interest] DoubleLinkedTree
Alexander Gängel
alexander at gaengel.de
Tue Feb 20 02:50:18 PST 2007
Can Somebody give me a hint how to use DoubleLinkTrees.
I tried it this way:
I have
ASTLabelType=MyAst; in my V3 Grammar
I created a Class MyAst extends DoubleLinkTree
I Implemented the Abstract functions from BaseTree like in CommonTree
but when I try to use the Grammar I get Exception in thread "main"
java.lang.ClassCastException: org.antlr.runtime.tree.CommonTree
Alexander
More information about the antlr-interest
mailing list