Class ParseResult

java.lang.Object
com.espertech.esper.compiler.internal.parse.ParseResult

public class ParseResult extends Object
Result of a parse action.
  • Constructor Details

    • ParseResult

      public ParseResult(org.antlr.v4.runtime.tree.Tree tree, String expressionWithoutAnnotations, org.antlr.v4.runtime.CommonTokenStream tokenStream, List<String> scripts, List<String> classes)
      Ctor.
      Parameters:
      tree - parse tree
      expressionWithoutAnnotations - expression text no annotations, or null if same
      scripts - script list
      tokenStream - tokens
      classes - class list
  • Method Details

    • getTree

      public org.antlr.v4.runtime.tree.Tree getTree()
      AST.
      Returns:
      ast
    • getExpressionWithoutAnnotations

      public String getExpressionWithoutAnnotations()
      Returns the expression text no annotations.
      Returns:
      expression text no annotations.
    • getTokenStream

      public org.antlr.v4.runtime.CommonTokenStream getTokenStream()
    • getScripts

      public List<String> getScripts()
    • getClasses

      public List<String> getClasses()