private static final class JexlOne.JexlOneExpression extends ExpressionImpl implements Expression, Script
expression, jexl, script| Modifier | Constructor and Description |
|---|---|
private |
JexlOneExpression(JexlOne.JexlOneEngine engine,
java.lang.String expr,
ASTJexlScript ref)
Default local ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
evaluate(JexlContext context)
Evaluates the expression with the variables contained in the
supplied
JexlContext. |
java.lang.Object |
execute(JexlContext context)
Executes the script with the variables contained in the
supplied
JexlContext. |
callable, callable, dump, evaluate, execute, execute, getExpression, getLocalVariables, getParameters, getText, getVariables, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdump, evaluate, getExpressioncallable, callable, execute, execute, getLocalVariables, getParameters, getText, getVariablesprivate JexlOneExpression(JexlOne.JexlOneEngine engine, java.lang.String expr, ASTJexlScript ref)
engine - the interpreter to evaluate the expressionexpr - the expression.ref - the parsed expression.public java.lang.Object evaluate(JexlContext context)
JexlContext.context - A JexlContext containing variables.public java.lang.Object execute(JexlContext context)
JexlContext.context - A JexlContext containing variables.