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(org.apache.commons.jexl2.parser.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, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public JexlNode(int id)
public JexlNode(org.apache.commons.jexl2.parser.Parser p, int id)
public DebugInfo debugInfo()
public java.lang.String debugString()
debugString
in interface JexlInfo
public final boolean isConstant()
protected boolean isConstant(boolean literal)
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.