toParseTreeModel

fun toParseTreeModel(node: ParserRuleContext, vocabulary: Vocabulary): ParseTreeNode

Given an actual parse-tree produced by ANTLR, it creates a Parse Tree model.