|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jexl3.parser.SimpleNode
org.apache.commons.jexl3.parser.JexlNode
public abstract class JexlNode
Base class for parser nodes - holds an 'image' of the token for later use.
| Nested Class Summary | |
|---|---|
static interface |
JexlNode.Constant<T>
A marker interface for constants. |
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jexl3.parser.SimpleNode |
|---|
id |
| Constructor Summary | |
|---|---|
JexlNode(int id)
|
|
JexlNode(Parser p,
int id)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.commons.jexl3.parser.SimpleNode |
|---|
childrenAccept, dump, jjtAccept, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JexlNode(int id)
public JexlNode(Parser p,
int id)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||