Interface FunctionDefinition

    • Method Detail

      • getId

        java.lang.String getId()
        The ID of this function.
        Returns:
        The ID string
      • getArguments

        java.util.List<Type> getArguments()
        The arguments to this function.
        Returns:
        The function arguments
      • getReturnType

        Type getReturnType()
        The return type of this function definition.
        Returns:
        The function return type
      • evaluate

        Value evaluate​(java.util.List<Value> arguments)
        Evaluate the arguments to a given function to compute a result.
        Returns:
        The resulting value