public abstract class JexlNode extends SimpleNode
Modifier and Type | Class and Description |
---|---|
static interface |
JexlNode.Constant<T>
A marker interface for constants.
|
id
Constructor and Description |
---|
JexlNode(int id) |
JexlNode(Parser p,
int id) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears any cached value of type JexlProperty{G,S}et or JexlMethod.
|
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) |
boolean |
isLeftValue()
Whether this node is a left value.
|
JexlInfo |
jexlInfo()
Gets the associated JexlInfo instance.
|
void |
jjtSetFirstToken(Token t) |
void |
jjtSetLastToken(Token t) |
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public JexlNode(int id)
public JexlNode(Parser p, int id)
public void jjtSetFirstToken(Token t)
public void jjtSetLastToken(Token t)
public JexlInfo jexlInfo()
public void clearCache()
This is called when the engine detects the evaluation of a script occurs with a class loader different that the one that created it.
public boolean isConstant()
protected boolean isConstant(boolean literal)
public boolean isLeftValue()
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.