public interface FunDef
FunTable.| Modifier and Type | Method and Description | 
|---|---|
Calc | 
compileCall(ResolvedFunCall call,
           ExpCompiler compiler)
Converts a call to this function into executable objects. 
 | 
Exp | 
createCall(Validator validator,
          Exp[] args)
Creates an expression which represents a call to this function with
 a given set of arguments. 
 | 
String | 
getDescription()
Returns the description of this function. 
 | 
String | 
getName()
Returns the name of this function. 
 | 
int[] | 
getParameterCategories()
Returns the types of the arguments of this function. 
 | 
int | 
getReturnCategory()
Returns the  
Category code of the value returned by this
 function. | 
String | 
getSignature()
Returns an English description of the signature of the function, for
 example "<Numeric Expression> / <Numeric Expression>". 
 | 
Syntax | 
getSyntax()
Returns the syntactic type of the function. 
 | 
void | 
unparse(Exp[] args,
       PrintWriter pw)
Converts a function call into MDX source code. 
 | 
Syntax getSyntax()
String getName()
String getDescription()
int getReturnCategory()
Category code of the value returned by this
 function.int[] getParameterCategories()
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.Exp createCall(Validator validator, Exp[] args)
ResolvedFunCall but
 not always.String getSignature()
void unparse(Exp[] args, PrintWriter pw)
Calc compileCall(ResolvedFunCall call, ExpCompiler compiler)
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.
Copyright © 2017 Hitachi Vantara. All rights reserved.