ASTAdditiveNode
, ASTAdditiveOperator
, ASTAmbiguous
, ASTAndNode
, ASTArrayAccess
, ASTArrayLiteral
, ASTAssignment
, ASTBitwiseAndNode
, ASTBitwiseComplNode
, ASTBitwiseOrNode
, ASTBitwiseXorNode
, ASTBlock
, ASTConstructorNode
, ASTDivNode
, ASTEmptyFunction
, ASTEQNode
, ASTERNode
, ASTFalseNode
, ASTFloatLiteral
, ASTForeachStatement
, ASTFunctionNode
, ASTGENode
, ASTGTNode
, ASTIdentifier
, ASTIfStatement
, ASTIntegerLiteral
, ASTJexlScript
, ASTLENode
, ASTLTNode
, ASTMapEntry
, ASTMapLiteral
, ASTMethodNode
, ASTModNode
, ASTMulNode
, ASTNENode
, ASTNotNode
, ASTNRNode
, ASTNullLiteral
, ASTNumberLiteral
, ASTOrNode
, ASTReference
, ASTReturnStatement
, ASTSizeFunction
, ASTSizeMethod
, ASTStringLiteral
, ASTTernaryNode
, ASTTrueNode
, ASTUnaryMinusNode
, ASTWhileStatement
public abstract class JexlNode extends SimpleNode implements JexlInfo
Modifier and Type | Class | Description |
---|---|---|
static interface |
JexlNode.Literal<T> |
A marker interface for literals.
|
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
image |
token value.
|
children, id, parent, value
Constructor | Description |
---|---|
JexlNode(int id) |
|
JexlNode(Parser p,
int id) |
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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)