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,
List<String> classes)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getClasses() |
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, List<String> classes)
tree
- parse treeexpressionWithoutAnnotations
- expression text no annotations, or null if samescripts
- script listtokenStream
- tokensclasses
- class listpublic org.antlr.v4.runtime.tree.Tree getTree()
public String getExpressionWithoutAnnotations()
public org.antlr.v4.runtime.CommonTokenStream getTokenStream()
Copyright © 2005–2022. All rights reserved.