Class CrossJoinTest.NullFunDef

    • Constructor Detail

      • NullFunDef

        NullFunDef()
    • Method Detail

      • getSyntax

        public Syntax getSyntax()
        Description copied from interface: FunDef
        Returns the syntactic type of the function.
        Specified by:
        getSyntax in interface FunDef
      • getName

        public String getName()
        Description copied from interface: FunDef
        Returns the name of this function.
        Specified by:
        getName in interface FunDef
      • getDescription

        public String getDescription()
        Description copied from interface: FunDef
        Returns the description of this function.
        Specified by:
        getDescription in interface FunDef
      • getReturnCategory

        public int getReturnCategory()
        Description copied from interface: FunDef
        Returns the Category code of the value returned by this function.
        Specified by:
        getReturnCategory in interface FunDef
      • getParameterCategories

        public int[] getParameterCategories()
        Description copied from interface: FunDef
        Returns the types of the arguments of this function. Values are the same as those returned by Exp.getCategory(). The 0th argument of methods and properties are the object they are applied to. Infix operators have two arguments, and prefix operators have one argument.
        Specified by:
        getParameterCategories in interface FunDef
      • createCall

        public Exp createCall​(Validator validator,
                              Exp[] args)
        Description copied from interface: FunDef
        Creates an expression which represents a call to this function with a given set of arguments. The result is usually a ResolvedFunCall but not always.
        Specified by:
        createCall in interface FunDef
      • getSignature

        public String getSignature()
        Description copied from interface: FunDef
        Returns an English description of the signature of the function, for example "<Numeric Expression> / <Numeric Expression>".
        Specified by:
        getSignature in interface FunDef
      • unparse

        public void unparse​(Exp[] args,
                            PrintWriter pw)
        Description copied from interface: FunDef
        Converts a function call into MDX source code.
        Specified by:
        unparse in interface FunDef
      • compileCall

        public Calc compileCall​(ResolvedFunCall call,
                                ExpCompiler compiler)
        Description copied from interface: FunDef
        Converts a call to this function into executable objects.

        The result must implement the appropriate interface for the result type. For example, a function which returns an integer must return an object which implements IntegerCalc.

        Specified by:
        compileCall in interface FunDef