public abstract class JexlNode extends SimpleNode implements JexlInfo
Modifier and Type | Class and Description |
---|---|
static interface |
JexlNode.Literal<T>
A marker interface for literals.
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
image
token value.
|
children, id, parent, value
Constructor and Description |
---|
JexlNode(int id) |
JexlNode(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
DebugInfo |
debugInfo()
Gets the underlying debugging information.
|
java.lang.String |
debugString()
Formats this information for debugging purpose.
|
boolean |
isConstant()
Whether this node is a constant node
Its value can not change after the first evaluation and can be cached indefinitely.
|
protected boolean |
isConstant(boolean literal) |
childrenAccept, dump, getId, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public java.lang.String image
public java.lang.String debugString()
debugString
in interface JexlInfo
public final boolean isConstant()
protected boolean isConstant(boolean literal)