ParseTree in AnTLR4 C# -
i creating grammar using antlr4 targeting c# facing problem while developing visitor. can't find class parsetree referred in book.
in book have:
labeledexprlexer lexer = new labeledexprlexer(input); commontokenstream tokens = new commontokenstream(lexer); labeledexprparser parser = new labeledexprparser(tokens); parsetree tree = parser.prog(); // parse can't see equivalent c# code.
can please help?
interfaces in c# have prefix i
. qualified name here antlr4.runtime.tree.iparsetree
.
Comments
Post a Comment