I am currently using AnTLR4 in C# but I am facing a problem, I don't know how to get the the object/class ParseTree.
I find in C# the fully qualified name here is Antlr4.Runtime.Tree.IParseTree
but how to get the object?
AntlrInputStream inputStream = new AntlrInputStream(sSpinTexte);
SpinParserLexer SpinLexer = new SpinParserLexer(inputStream);
CommonTokenStream commonTokenStream = new CommonTokenStream(SpinLexer);
SpinParserParser SpinParser = new SpinParserParser(commonTokenStream);
IParseTree tree = ?????
Can you please help?
--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
StartRuleName
is the name of the rule you would like to parse.