Package | Description |
---|---|
org.apache.commons.jexl2 | |
org.apache.commons.jexl2.parser |
Modifier and Type | Field | Description |
---|---|---|
protected JexlNode |
JexlException.mark |
The point of origin for this exception.
|
Modifier and Type | Method | Description |
---|---|---|
protected JexlNode |
Interpreter.findNullOperand(java.lang.RuntimeException xrt,
JexlNode node,
java.lang.Object left,
java.lang.Object right) |
Finds the node causing a NPE for diadic operators.
|
Modifier and Type | Method | Description |
---|---|---|
protected JexlNode |
Interpreter.findNullOperand(java.lang.RuntimeException xrt,
JexlNode node,
java.lang.Object left,
java.lang.Object right) |
Finds the node causing a NPE for diadic operators.
|
protected java.lang.Object |
Interpreter.getAttribute(java.lang.Object object,
java.lang.Object attribute,
JexlNode node) |
Gets an attribute of an object.
|
protected void |
JexlEngine.getVariables(JexlNode node,
java.util.Set<java.util.List<java.lang.String>> refs,
java.util.List<java.lang.String> ref) |
Fills up the list of variables accessed by a node.
|
java.lang.Object |
Interpreter.interpret(JexlNode node) |
Interpret the given script/expression.
|
protected java.lang.Object |
Interpreter.resolveNamespace(java.lang.String prefix,
JexlNode node) |
Resolves a namespace, eventually allocating an instance using context as constructor argument.
|
protected void |
Interpreter.setAttribute(java.lang.Object object,
java.lang.Object attribute,
java.lang.Object value,
JexlNode node) |
Sets an attribute of an object.
|
Constructor | Description |
---|---|
Cancel(JexlNode node) |
Creates a new instance of Cancel.
|
JexlException(JexlNode node,
java.lang.String msg) |
Creates a new JexlException.
|
JexlException(JexlNode node,
java.lang.String msg,
java.lang.Throwable cause) |
Creates a new JexlException.
|
Method(JexlNode node,
java.lang.String name) |
Creates a new Method exception instance.
|
Property(JexlNode node,
java.lang.String var) |
Creates a new Property exception instance.
|
Return(JexlNode node,
java.lang.String msg,
java.lang.Object value) |
Creates a new instance of Return.
|
Variable(JexlNode node,
java.lang.String var) |
Creates a new Variable exception instance.
|
Modifier and Type | Class | Description |
---|---|---|
class |
ASTAdditiveNode |
|
class |
ASTAdditiveOperator |
|
class |
ASTAmbiguous |
|
class |
ASTAndNode |
|
class |
ASTArrayAccess |
|
class |
ASTArrayLiteral |
|
class |
ASTAssignment |
|
class |
ASTBitwiseAndNode |
|
class |
ASTBitwiseComplNode |
|
class |
ASTBitwiseOrNode |
|
class |
ASTBitwiseXorNode |
|
class |
ASTBlock |
|
class |
ASTConstructorNode |
|
class |
ASTDivNode |
|
class |
ASTEmptyFunction |
|
class |
ASTEQNode |
|
class |
ASTERNode |
|
class |
ASTFalseNode |
|
class |
ASTFloatLiteral |
Deprecated.
Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0
|
class |
ASTForeachStatement |
|
class |
ASTFunctionNode |
|
class |
ASTGENode |
|
class |
ASTGTNode |
|
class |
ASTIdentifier |
Identifiers, variables and registers.
|
class |
ASTIfStatement |
|
class |
ASTIntegerLiteral |
Deprecated.
Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0
|
class |
ASTJexlScript |
Enhanced script to allow parameters declaration.
|
class |
ASTLENode |
|
class |
ASTLTNode |
|
class |
ASTMapEntry |
|
class |
ASTMapLiteral |
|
class |
ASTMethodNode |
|
class |
ASTModNode |
|
class |
ASTMulNode |
|
class |
ASTNENode |
|
class |
ASTNotNode |
|
class |
ASTNRNode |
|
class |
ASTNullLiteral |
|
class |
ASTNumberLiteral |
|
class |
ASTOrNode |
|
class |
ASTReference |
|
class |
ASTReferenceExpression |
|
class |
ASTReturnStatement |
|
class |
ASTSizeFunction |
|
class |
ASTSizeMethod |
|
class |
ASTStringLiteral |
|
class |
ASTTernaryNode |
|
class |
ASTTrueNode |
|
class |
ASTUnaryMinusNode |
|
class |
ASTVar |
Declares a local variable.
|
class |
ASTWhileStatement |
Modifier and Type | Field | Description |
---|---|---|
protected JexlNode[] |
SimpleNode.children |
The array of children nodes.
|
protected JexlNode |
SimpleNode.parent |
The parent node.
|
Modifier and Type | Method | Description |
---|---|---|
JexlNode |
SimpleNode.jjtGetChild(int i) |
Gets a child of this node.
|
JexlNode |
SimpleNode.jjtGetParent() |
Gets this node's parent.
|