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 Object implements JexlNode.Funcall
Cached function call.
  • Field Details

    • 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 Details

    • Funcall

      protected Funcall(JexlMethod jme, boolean flag)
      Constructor.
      Parameters:
      jme - the method
      flag - the narrow flag
  • Method Details

    • tryInvoke

      protected Object tryInvoke(InterpreterBase ii, String name, Object target, Object[] args)
      Try invocation.
      Parameters:
      ii - the interpreter
      name - the method name
      target - the method target
      args - the method arguments
      Returns:
      the method invocation result (or JexlEngine.TRY_FAILED)