Class InterpreterBase.ArithmeticFuncall
- java.lang.Object
-
- org.apache.commons.jexl3.internal.InterpreterBase.Funcall
-
- org.apache.commons.jexl3.internal.InterpreterBase.ArithmeticFuncall
-
- All Implemented Interfaces:
JexlNode.Funcall
- Enclosing class:
- InterpreterBase
protected static class InterpreterBase.ArithmeticFuncall extends InterpreterBase.Funcall
Cached arithmetic function call.
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jexl3.internal.InterpreterBase.Funcall
me, narrow
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedArithmeticFuncall(JexlMethod jme, boolean flag)Constructs a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjecttryInvoke(InterpreterBase ii, java.lang.String name, java.lang.Object target, java.lang.Object[] args)Try invocation.
-
-
-
Constructor Detail
-
ArithmeticFuncall
protected ArithmeticFuncall(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.FuncallTry invocation.- Overrides:
tryInvokein classInterpreterBase.Funcall- Parameters:
ii- the interpretername- the method nametarget- the method targetargs- the method arguments- Returns:
- the method invocation result (or JexlEngine.TRY_FAILED)
-
-