Class InterpreterBase.ContextualCtor
- java.lang.Object
-
- org.apache.commons.jexl3.internal.InterpreterBase.Funcall
-
- org.apache.commons.jexl3.internal.InterpreterBase.ContextualCtor
-
- All Implemented Interfaces:
JexlNode.Funcall
- Enclosing class:
- InterpreterBase
protected static class InterpreterBase.ContextualCtor extends InterpreterBase.Funcall
A ctor that needs a context as 1st argument.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jexl3.internal.InterpreterBase.Funcall
me, narrow
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ContextualCtor(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.
-
-
-
Constructor Detail
-
ContextualCtor
protected ContextualCtor(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)
Description copied from class:InterpreterBase.Funcall
Try invocation.- Overrides:
tryInvoke
in classInterpreterBase.Funcall
- Parameters:
ii
- the interpretername
- the method nametarget
- the method targetargs
- the method arguments- Returns:
- the method invocation result (or JexlEngine.TRY_FAILED)
-
-