public class ParseResult extends Object
Constructor and Description |
---|
ParseResult(org.antlr.v4.runtime.tree.Tree tree,
String expressionWithoutAnnotations,
org.antlr.v4.runtime.CommonTokenStream tokenStream,
List<String> scripts)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
String |
getExpressionWithoutAnnotations()
Returns the expression text no annotations.
|
List<String> |
getScripts() |
org.antlr.v4.runtime.CommonTokenStream |
getTokenStream() |
org.antlr.v4.runtime.tree.Tree |
getTree()
AST.
|
public ParseResult(org.antlr.v4.runtime.tree.Tree tree, String expressionWithoutAnnotations, org.antlr.v4.runtime.CommonTokenStream tokenStream, List<String> scripts)
tree
- parse treeexpressionWithoutAnnotations
- expression text no annotations, or null if samescripts
- script listtokenStream
- tokenspublic org.antlr.v4.runtime.tree.Tree getTree()
public String getExpressionWithoutAnnotations()
public org.antlr.v4.runtime.CommonTokenStream getTokenStream()