Interface ASTNode
public interface ASTNode
The public API for a node in the expression language's abstract syntax tree.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the source code for this node and its descendants in the syntax tree.booleanTrueif this node represents a literal of variable,falseif 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()Trueif this node represents a literal of variable,falseif it represents an expression.
-