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
protected static class InterpreterBase.Funcall extends java.lang.Object implements JexlNode.Funcall
Cached function call.
-
-
Field Summary
Fields Modifier and Type Field Description protected JexlMethod
me
The JexlMethod to delegate the call to.protected boolean
narrow
Whether narrow should be applied to arguments.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Funcall(JexlMethod jme, boolean flag)
Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
tryInvoke(InterpreterBase ii, java.lang.String name, java.lang.Object target, java.lang.Object[] args)
Try invocation.
-
-
-
Field Detail
-
narrow
protected final boolean narrow
Whether narrow should be applied to arguments.
-
me
protected final JexlMethod me
The JexlMethod to delegate the call to.
-
-
Constructor Detail
-
Funcall
protected Funcall(JexlMethod jme, boolean flag)
Constructs a new instance.- Parameters:
jme
- the methodflag
- the narrow flag
-
-
Method Detail
-
tryInvoke
protected java.lang.Object tryInvoke(InterpreterBase ii, java.lang.String name, java.lang.Object target, java.lang.Object[] args)
Try invocation.- Parameters:
ii
- the interpretername
- the method nametarget
- the method targetargs
- the method arguments- Returns:
- the method invocation result (or JexlEngine.TRY_FAILED)
-
-