public final class FunctionDefinedByUser extends AbstractFunction
ALL_FUNCTIONS, EXECUTION_PREFIX, UID_COUNTER| Constructor and Description |
|---|
FunctionDefinedByUser(String name,
int argsNumber,
PreprocessorContext context) |
| Modifier and Type | Method and Description |
|---|---|
Value |
execute(PreprocessorContext context,
Value[] values) |
ValueType[][] |
getAllowedArgumentTypes()
Get arrays of supported argument types
|
int |
getArity()
Get the function arity
|
String |
getName()
Get the function name
|
String |
getReference()
Get the function reference to be output for a help request
|
ValueType |
getResultType()
Get the result type
|
findForClass, findForName, getExpressionItemPriority, getExpressionItemType, toStringpublic FunctionDefinedByUser(String name, int argsNumber, PreprocessorContext context)
public String getName()
AbstractFunctiongetName in class AbstractFunctionpublic int getArity()
AbstractFunctiongetArity in class AbstractFunctionpublic Value execute(PreprocessorContext context, Value[] values)
public ValueType[][] getAllowedArgumentTypes()
AbstractFunctiongetAllowedArgumentTypes in class AbstractFunctionpublic String getReference()
AbstractFunctiongetReference in class AbstractFunctionpublic ValueType getResultType()
AbstractFunctiongetResultType in class AbstractFunctionCopyright © 2011–2019 Igor Maznitsa. All rights reserved.