Interface FunctionContext


  • public interface FunctionContext
    Information about the context in which a function is evaluated. This information is passed to the FunctionTyper associated with the function to provide information necessary for performing type checks.
    • Method Detail

      • getLabel

        String getLabel()
        Gets the name of the function being evaluated.
        Returns:
        the name associated with the function
      • getArgumentCount

        int getArgumentCount()
        Gets the number of arguments passed to the function.
        Returns:
        the number of function arguments
      • getArgument

        Object getArgument​(int i)
        Gets the specified argument.
        Parameters:
        i - the index of the argument to get
        Returns:
        the argument