|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JexlNode | |
---|---|
org.apache.commons.jexl3 | Provides a framework for evaluating JEXL expressions. |
org.apache.commons.jexl3.internal | Provides utilities for introspection services. |
org.apache.commons.jexl3.parser | Contains the Parser for JEXL script. |
Uses of JexlNode in org.apache.commons.jexl3 |
---|
Methods in org.apache.commons.jexl3 with parameters of type JexlNode | |
---|---|
static String |
JexlException.annotationError(JexlNode node,
String annotation)
Generates a message for an annotation error. |
static JexlInfo |
JexlException.getInfo(JexlNode node,
JexlInfo info)
Gets the most specific information attached to a node. |
static String |
JexlException.methodError(JexlNode node,
String method)
Generates a message for a unsolvable method error. |
static String |
JexlException.operatorError(JexlNode node,
String symbol)
Generates a message for an operator error. |
static String |
JexlException.propertyError(JexlNode node,
String var)
Generates a message for an unsolvable property error. |
static String |
JexlException.variableError(JexlNode node,
String variable,
boolean undef)
Generates a message for a variable error. |
Constructors in org.apache.commons.jexl3 with parameters of type JexlNode | |
---|---|
JexlException.Annotation(JexlNode node,
String name,
Throwable cause)
Creates a new Annotation exception instance. |
|
JexlException.Break(JexlNode node)
Creates a new instance of Break. |
|
JexlException.Cancel(JexlNode node)
Creates a new instance of Cancel. |
|
JexlException.Continue(JexlNode node)
Creates a new instance of Continue. |
|
JexlException.Method(JexlNode node,
String name)
Creates a new Method exception instance. |
|
JexlException.Operator(JexlNode node,
String symbol,
Throwable cause)
Creates a new Operator exception instance. |
|
JexlException.Property(JexlNode node,
String var)
Creates a new Property exception instance. |
|
JexlException.Property(JexlNode node,
String var,
Throwable cause)
Creates a new Property exception instance. |
|
JexlException.Return(JexlNode node,
String msg,
Object value)
Creates a new instance of Return. |
|
JexlException.Variable(JexlNode node,
String var,
boolean undef)
Creates a new Variable exception instance. |
|
JexlException(JexlNode node,
String msg)
Creates a new JexlException. |
|
JexlException(JexlNode node,
String msg,
Throwable cause)
Creates a new JexlException. |
Uses of JexlNode in org.apache.commons.jexl3.internal |
---|
Fields in org.apache.commons.jexl3.internal declared as JexlNode | |
---|---|
protected JexlNode |
Debugger.cause
The cause of the issue to debug. |
Methods in org.apache.commons.jexl3.internal that return JexlNode | |
---|---|
protected JexlNode |
InterpreterBase.findNullOperand(RuntimeException xrt,
JexlNode node,
Object left,
Object right)
Finds the node causing a NPE for diadic operators. |
Methods in org.apache.commons.jexl3.internal with parameters of type JexlNode | |
---|---|
protected Object |
Debugger.accept(JexlNode node,
Object data)
Checks if a child node is the cause to debug & adds its representation to the rebuilt expression. |
protected Object |
TemplateDebugger.acceptStatement(JexlNode child,
Object data)
|
protected Object |
Debugger.acceptStatement(JexlNode child,
Object data)
Adds a statement node to the rebuilt expression. |
protected Object |
Debugger.additiveNode(JexlNode node,
String op,
Object data)
Rebuilds an additive expression. |
protected Object |
InterpreterBase.annotationError(JexlNode node,
String annotation,
Throwable cause)
Triggered when an annotation processing fails. |
protected Object |
Interpreter.call(JexlNode node,
Object target,
Object functor,
ASTArguments argNode)
Calls a method (or function). |
protected Object |
Debugger.check(JexlNode node,
String image,
Object data)
Checks if a terminal node is the the cause to debug & adds its representation to the rebuilt expression. |
void |
Engine.VarCollector.collect(JexlNode node)
Starts/stops a variable collect. |
protected boolean |
Operators.contains(JexlNode node,
String op,
Object left,
Object right)
The 'match'/'in' operator implementation. |
String |
Debugger.data(JexlNode node)
Rebuilds an expression from a JEXL node. |
boolean |
Debugger.debug(JexlNode node)
Seeks the location of an error cause (a node) in an expression. |
boolean |
Debugger.debug(JexlNode node,
boolean r)
Seeks the location of an error cause (a node) in an expression. |
protected Object |
Operators.empty(JexlNode node,
Object object)
Check for emptyness of various types: Collection, Array, Map, String, and anything that has a boolean isEmpty() method. |
protected boolean |
Operators.endsWith(JexlNode node,
String operator,
Object left,
Object right)
The 'endsWith' operator implementation. |
protected Object |
Interpreter.executeAssign(JexlNode node,
JexlOperator assignop,
Object data)
Executes an assignment with an optional side-effect operator. |
protected JexlNode |
InterpreterBase.findNullOperand(RuntimeException xrt,
JexlNode node,
Object left,
Object right)
Finds the node causing a NPE for diadic operators. |
protected Object |
Interpreter.getAttribute(Object object,
Object attribute,
JexlNode node)
Gets an attribute of an object. |
protected void |
Engine.getVariables(ASTJexlScript script,
JexlNode node,
Engine.VarCollector collector)
Fills up the list of variables accessed by a node. |
protected Object |
Debugger.infixChildren(JexlNode node,
String infix,
boolean paren,
Object data)
Checks if the children of a node using infix notation is the cause to debug, adds their representation to the rebuilt expression. |
Object |
Interpreter.interpret(JexlNode node)
Interpret the given script/expression. |
protected JexlException |
InterpreterBase.invocationException(JexlNode node,
String methodName,
Exception xany)
Triggered when method, function or constructor invocation fails with an exception. |
protected boolean |
Interpreter.isTernaryProtected(JexlNode node)
Check if a null evaluated expression is protected by a ternary expression. |
protected Object |
InterpreterBase.operatorError(JexlNode node,
JexlOperator operator,
Throwable cause)
Triggered when an operator fails. |
protected Object |
Debugger.prefixChild(JexlNode node,
String prefix,
Object data)
Checks if the child of a node using prefix notation is the cause to debug, adds their representation to the rebuilt expression. |
protected Object |
TemplateInterpreter.resolveNamespace(String prefix,
JexlNode node)
|
protected Object |
Interpreter.resolveNamespace(String prefix,
JexlNode node)
Resolves a namespace, eventually allocating an instance using context as constructor argument. |
protected void |
Interpreter.setAttribute(Object object,
Object attribute,
Object value,
JexlNode node)
Sets an attribute of an object. |
protected Object |
Operators.size(JexlNode node,
Object object)
Calculate the size of various types:
Collection, Array, Map, String, and anything that has a int size() method. |
protected boolean |
Operators.startsWith(JexlNode node,
String operator,
Object left,
Object right)
The 'startsWith' operator implementation. |
protected Object |
Operators.tryAssignOverload(JexlNode node,
JexlOperator operator,
Object... args)
Evaluates an assign operator. |
protected Object |
Operators.tryOverload(JexlNode node,
JexlOperator operator,
Object... args)
Attempts to call an operator. |
protected Object |
InterpreterBase.unsolvableMethod(JexlNode node,
String method)
Triggered when a method can not be resolved. |
protected Object |
InterpreterBase.unsolvableProperty(JexlNode node,
String var,
Throwable cause)
Triggered when a property can not be resolved. |
protected Object |
InterpreterBase.unsolvableVariable(JexlNode node,
String var,
boolean undef)
Triggered when a variable can not be resolved. |
Uses of JexlNode in org.apache.commons.jexl3.parser |
---|
Methods in org.apache.commons.jexl3.parser that return JexlNode | |
---|---|
JexlNode |
SimpleNode.jjtGetChild(int i)
Gets a child of this node. |
JexlNode |
SimpleNode.jjtGetParent()
Gets this node's parent. |
Methods in org.apache.commons.jexl3.parser with parameters of type JexlNode | |
---|---|
protected void |
JexlParser.throwParsingException(JexlNode node)
Throws a parsing exception. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |