Class FunctionCall.FunctionCallElaborator

    • Constructor Detail

      • FunctionCallElaborator

        public FunctionCallElaborator()
    • Method Detail

      • setExpression

        public void setExpression​(Expression expr)
        Description copied from class: Elaborator
        Set the expression being elaborated
        Overrides:
        setExpression in class Elaborator
        Parameters:
        expr - the expression
      • allocateArgumentEvaluators

        protected void allocateArgumentEvaluators​(FunctionCall expr,
                                                  boolean allowRepeatedUse)
        Allocate evaluation functions for each argument (in field argumentEvaluators)
        Parameters:
        expr - the function call
        allowRepeatedUse - true if the value of the argument must be supplied to the function in a way that allows repeated use. This will be true for user-written functions, false for system functions, where the implementation is arranged to only use the value once.