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