Class InterpreterBase.Funcall
java.lang.Object
org.apache.commons.jexl3.internal.InterpreterBase.Funcall
- All Implemented Interfaces:
JexlNode.Funcall
- Direct Known Subclasses:
InterpreterBase.ArithmeticFuncall
,InterpreterBase.ContextFuncall
,InterpreterBase.ContextualCtor
- Enclosing class:
InterpreterBase
Cached function call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JexlMethod
The JexlMethod to delegate the call to.protected final boolean
Whether narrow should be applied to arguments. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Funcall
(JexlMethod jme, boolean flag) Constructs a new instance. -
Method Summary
-
Field Details
-
narrow
protected final boolean narrowWhether narrow should be applied to arguments. -
me
The JexlMethod to delegate the call to.
-
-
Constructor Details
-
Funcall
Constructs a new instance.- Parameters:
jme
- the methodflag
- the narrow flag
-
-
Method Details
-
tryInvoke
Try invocation.- Parameters:
ii
- the interpretername
- the method nametarget
- the method targetargs
- the method arguments- Returns:
- the method invocation result (or JexlEngine.TRY_FAILED)
-