Class GenerateId_1

    • Constructor Detail

      • GenerateId_1

        public GenerateId_1()
    • Method Detail

      • getSpecialProperties

        public int getSpecialProperties​(Expression[] arguments)
        Determine the special properties of this expression. The generate-id() function is a special case: it is considered creative if its operand is creative, so that generate-id(f()) is not taken out of a loop
        Overrides:
        getSpecialProperties in class SystemFunction
        Parameters:
        arguments - the expressions supplied as arguments in the function call
        Returns:
        the properties
      • resultWhenEmpty

        public Sequence resultWhenEmpty()
        Description copied from class: ScalarSystemFunction
        Method that may be supplied in subclasses, to indicate the result that is returned when an empty sequence is supplied as the argument value. The default is to return the empty sequence
        Overrides:
        resultWhenEmpty in class ScalarSystemFunction
        Returns:
        the result of evaluation when the supplied argument is an empty sequence
      • getCompilerName

        public java.lang.String getCompilerName()
        Description copied from class: SystemFunction
        Get the (local) name of a class that can be used to generate bytecode for this system function
        Overrides:
        getCompilerName in class SystemFunction
        Returns:
        the name of a bytecode generation class, or null if there is no bytecode support for this function