private static final class JexlOne.JexlOneInterpreter extends Interpreter
arithmetic, cache, context, EMPTY_PARAMS, functions, functors, logger, registers, silent, strict, uberspect| Constructor and Description |
|---|
JexlOneInterpreter(JexlEngine jexl,
JexlContext aContext)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
interpret(JexlNode node)
Interpret the given script/expression.
|
protected java.lang.Object |
invocationFailed(JexlException xjexl)
Triggered when method, function or constructor invocation fails.
|
protected java.lang.Object |
unknownVariable(JexlException xjexl)
Triggered when variable can not be resolved.
|
findNullOperand, getAttribute, getAttribute, getContext, getUberspect, isCancelled, isSilent, isStrict, resolveNamespace, setAttribute, setAttribute, setFrame, setRegisters, setSilent, setStrict, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitpublic JexlOneInterpreter(JexlEngine jexl, JexlContext aContext)
jexl - the jexl engineaContext - the jexl contextpublic java.lang.Object interpret(JexlNode node)
If the underlying JEXL engine is silent, errors will be logged through its logger as info.
interpret in class Interpreternode - the script or expression to interpret.protected java.lang.Object invocationFailed(JexlException xjexl)
invocationFailed in class Interpreterxjexl - the JexlException wrapping the original errorprotected java.lang.Object unknownVariable(JexlException xjexl)
unknownVariable in class Interpreterxjexl - the JexlException ("undefined variable " + variable)