public class ListFunction extends SimpleFunction
maxArgs, minArgslog, name, spaceParser| Constructor and Description |
|---|
ListFunction() |
| Modifier and Type | Method and Description |
|---|---|
protected Value |
apply(ParseSession session,
Value[] params)
Apply this function to the given values.
|
String |
getHelpSummary()
Get summarized help (typically a single line).
|
EnumSet<SessionMode> |
getSessionModes()
Get the
SessionMode(s) supported by this instance. |
String |
getUsage()
Get function usage string.
|
apply, getMaxArgs, getMinArgs, parseParamsgetHelpDetail, getName, parseExpressionParams, parseNextParameterpublic String getHelpSummary()
Functionpublic String getUsage()
Functionpow(base, exponent).public EnumSet<SessionMode> getSessionModes()
AbstractFunctionSessionMode(s) supported by this instance.
The implementation in AbstractFunction returns an EnumSet containing
SessionMode.CORE_API and SessionMode.JSIMPLEDB.
getSessionModes in interface FunctiongetSessionModes in class AbstractFunctionSessionModesprotected Value apply(ParseSession session, Value[] params)
SimpleFunctionapply in class SimpleFunctionsession - parse sessionparams - parsed parameters; will already be checked between SimpleFunction.getMinArgs() and SimpleFunction.getMaxArgs()Copyright © 2017. All rights reserved.