Package | Description |
---|---|
org.apache.commons.jexl2 |
Provides a framework for evaluating JEXL expressions.
|
org.apache.commons.jexl2.parser |
Contains the Parser for JEXL script.
|
Modifier and Type | Field and Description |
---|---|
protected JexlNode |
JexlException.mark
The point of origin for this exception.
|
Modifier and Type | Method and 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 and 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 and Description |
---|
JexlException.Cancel(JexlNode node)
Creates a new instance of Cancel.
|
JexlException.Method(JexlNode node,
java.lang.String name)
Creates a new Method exception instance.
|
JexlException.Property(JexlNode node,
java.lang.String var)
Creates a new Property exception instance.
|
JexlException.Return(JexlNode node,
java.lang.String msg,
java.lang.Object value)
Creates a new instance of Return.
|
JexlException.Variable(JexlNode node,
java.lang.String var)
Creates a new Variable exception instance.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
org.apache.commons.jexl2.parser.ASTArrayAccess |
class |
ASTArrayLiteral |
class |
ASTFloatLiteral
Deprecated.
Only for use in maintaining binary compatibility - should not actually be used - will be removed in 3.0
|
class |
ASTIdentifier
Identifiers, variables and registers.
|
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 |
ASTMapLiteral |
class |
ASTNumberLiteral |
class |
ASTReferenceExpression |
class |
ASTStringLiteral |
class |
ASTVar
Declares a local variable.
|
Modifier and Type | Field and Description |
---|---|
protected JexlNode[] |
SimpleNode.children
The array of children nodes.
|
protected JexlNode |
SimpleNode.parent
The parent node.
|
Modifier and Type | Method and Description |
---|---|
JexlNode |
SimpleNode.jjtGetChild(int i)
Gets a child of this node.
|
JexlNode |
SimpleNode.jjtGetParent()
Gets this node's parent.
|
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.