Interface ASTNode


public interface ASTNode
The public API for a node in the expression language's abstract syntax tree.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the source code for this node and its descendants in the syntax tree.
    boolean
    True if this node represents a literal of variable, false if it represents an expression.
  • Method Details

    • getSourceString

      String getSourceString()
      Returns the source code for this node and its descendants in the syntax tree.
    • isQuantity

      boolean isQuantity()
      True if this node represents a literal of variable, false if it represents an expression.