protected java.lang.Object |
Debugger.accept(JexlNode node,
java.lang.Object data) |
Checks if a child node is the cause to debug & adds its representation to the rebuilt expression.
|
protected java.lang.Object |
Debugger.acceptStatement(JexlNode child,
java.lang.Object data) |
Adds a statement node to the rebuilt expression.
|
protected java.lang.Object |
TemplateDebugger.acceptStatement(JexlNode child,
java.lang.Object data) |
|
protected java.lang.Object |
Debugger.additiveNode(JexlNode node,
java.lang.String op,
java.lang.Object data) |
Rebuilds an additive expression.
|
protected java.lang.Object |
InterpreterBase.annotationError(JexlNode node,
java.lang.String annotation,
java.lang.Throwable cause) |
Triggered when an annotation processing fails.
|
protected java.lang.Object |
Interpreter.call(JexlNode node,
java.lang.Object target,
java.lang.Object funcNode,
ASTArguments argNode) |
Calls a method (or function).
|
protected void |
InterpreterBase.cancelCheck(JexlNode node) |
Throws a JexlException.Cancel if script execution was cancelled.
|
protected java.lang.Object |
Debugger.check(JexlNode node,
java.lang.String image,
java.lang.Object data) |
Checks if a terminal node is the cause to debug & adds its representation to the rebuilt expression.
|
void |
Engine.VarCollector.collect(JexlNode node) |
Starts/stops a variable collect.
|
private static void |
TemplateScript.collectPrintScope(JexlNode node,
java.util.Map<java.lang.Integer,JexlNode.Info> minfo) |
Collects the scope surrounding a call to jexl:print(i).
|
protected java.lang.Object |
InterpreterBase.constVariable(JexlNode node,
java.lang.String var) |
Triggered when a captured variable is const and assignment is attempted.
|
protected boolean |
Operators.contains(JexlNode node,
java.lang.String op,
java.lang.Object left,
java.lang.Object right) |
The 'match'/'in' operator implementation.
|
java.lang.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 java.lang.Object |
Operators.empty(JexlNode node,
java.lang.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,
java.lang.String operator,
java.lang.Object left,
java.lang.Object right) |
The 'endsWith' operator implementation.
|
private java.lang.Object |
Interpreter.evalCatch(ASTReference catchVar,
JexlNode catchBody,
JexlException caught,
java.lang.Object data) |
Evaluate the catch in a try/catch/finally.
|
protected java.lang.Object |
Interpreter.executeAssign(JexlNode node,
JexlOperator assignop,
java.lang.Object data) |
Executes an assignment with an optional side effect operator.
|
protected JexlNode |
InterpreterBase.findNullOperand(java.lang.RuntimeException xrt,
JexlNode node,
java.lang.Object left,
java.lang.Object right) |
Deprecated.
|
protected JexlNode |
InterpreterBase.findNullOperand(JexlNode node,
java.lang.Object left,
java.lang.Object right) |
Finds the node causing a NPE for diadic operators.
|
protected java.lang.Object |
InterpreterBase.getAttribute(java.lang.Object object,
java.lang.Object attribute,
JexlNode node) |
Gets an attribute of an object.
|
protected JexlFeatures |
Debugger.getFeatures(JexlNode node) |
Tries (hard) to find the features used to parse a node.
|
private TemplateEngine.TemplateExpression |
TemplateDebugger.getPrintStatement(JexlNode child) |
In a template, any statement that is not 'jexl:print(n)' must be prefixed by "$$".
|
protected void |
Engine.getVariables(ASTJexlScript script,
JexlNode node,
Engine.VarCollector collector) |
Fills up the list of variables accessed by a node.
|
protected java.lang.Object |
Debugger.infixChildren(JexlNode node,
java.lang.String infix,
boolean paren,
java.lang.Object data) |
Checks if the children of a node using infix notation is the cause to debug, adds their representation to the
rebuilt expression.
|
java.lang.Object |
Interpreter.interpret(JexlNode node) |
Interpret the given script/expression.
|
protected JexlException |
InterpreterBase.invocationException(JexlNode node,
java.lang.String methodName,
java.lang.Throwable xany) |
Triggered when method, function or constructor invocation fails with an exception.
|
private static boolean |
Debugger.isStatement(JexlNode child) |
Whether a node is a statement (vs an expression).
|
protected boolean |
InterpreterBase.isStrictOperand(JexlNode node) |
|
(package private) static boolean |
Engine32.isTernaryProtected(Interpreter ii,
JexlNode startNode) |
Static delegation of isTernaryProtected.
|
protected boolean |
InterpreterBase.isTernaryProtected(JexlNode startNode) |
Check if a null evaluated expression is protected by a ternary expression.
|
protected java.lang.Object |
InterpreterBase.operatorError(JexlNode node,
JexlOperator operator,
java.lang.Throwable cause) |
Triggered when an operator fails.
|
protected java.lang.Object |
Debugger.postfixChild(JexlNode node,
java.lang.String prefix,
java.lang.Object data) |
Postfix operators.
|
protected java.lang.Object |
Debugger.prefixChild(JexlNode node,
java.lang.String prefix,
java.lang.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 java.lang.Object |
InterpreterBase.redefinedVariable(JexlNode node,
java.lang.String var) |
Triggered when a variable is lexically known as being redefined.
|
protected java.lang.Object |
InterpreterBase.resolveNamespace(java.lang.String prefix,
JexlNode node) |
Resolves a namespace, eventually allocating an instance using context as constructor argument.
|
protected java.lang.Object |
TemplateInterpreter.resolveNamespace(java.lang.String prefix,
JexlNode node) |
|
protected void |
Debugger.setArrowSymbol(JexlNode node) |
Sets the arrow style (fat or thin) depending on features.
|
protected void |
InterpreterBase.setAttribute(java.lang.Object object,
java.lang.Object attribute,
java.lang.Object value,
JexlNode node) |
Sets an attribute of an object.
|
protected void |
InterpreterBase.setContextVariable(JexlNode node,
java.lang.String name,
java.lang.Object value) |
Sets a variable in the global context.
|
protected java.lang.Object |
Operators.size(JexlNode node,
java.lang.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,
java.lang.String operator,
java.lang.Object left,
java.lang.Object right) |
The 'startsWith' operator implementation.
|
protected java.lang.String |
InterpreterBase.stringifyProperty(JexlNode node) |
Pretty-prints a failing property (de)reference.
|
protected static java.lang.String |
InterpreterBase.stringifyPropertyValue(JexlNode node) |
Pretty-prints a failing property value (de)reference.
|
private boolean |
Interpreter.testPredicate(JexlNode node,
java.lang.Object condition) |
|
protected java.lang.Object |
Operators.tryAssignOverload(JexlNode node,
JexlOperator operator,
java.util.function.Consumer<java.lang.Object> assignFun,
java.lang.Object... args) |
Evaluates an assign operator.
|
protected java.lang.Object |
Operators.tryOverload(JexlNode node,
JexlOperator operator,
java.lang.Object... args) |
Attempts to call an operator.
|
protected java.lang.Object |
InterpreterBase.undefinedVariable(JexlNode node,
java.lang.String var) |
Triggered when a variable is lexically known as undefined.
|
protected java.lang.Object |
InterpreterBase.unsolvableMethod(JexlNode node,
java.lang.String method) |
Triggered when a method can not be resolved.
|
protected java.lang.Object |
InterpreterBase.unsolvableMethod(JexlNode node,
java.lang.String method,
java.lang.Object[] args) |
Triggered when a method can not be resolved.
|
protected java.lang.Object |
InterpreterBase.unsolvableProperty(JexlNode node,
java.lang.String property,
boolean undef,
java.lang.Throwable cause) |
Triggered when a property can not be resolved.
|
protected java.lang.Object |
InterpreterBase.unsolvableVariable(JexlNode node,
java.lang.String var,
boolean undef) |
Triggered when a variable can not be resolved.
|
protected java.lang.Object |
InterpreterBase.variableError(JexlNode node,
java.lang.String var,
JexlException.VariableIssue issue) |
Triggered when a variable generates an issue.
|
protected java.lang.Object |
Interpreter.visitLexicalNode(JexlNode node,
java.lang.Object data) |
Runs a node.
|
protected java.lang.Object |
ScriptVisitor.visitNode(JexlNode node,
java.lang.Object data) |
Visits a node.
|