public class UpgradeFunction extends SimpleFunction
maxArgs, minArgslog, name, spaceParser| Constructor and Description |
|---|
UpgradeFunction() |
| 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).
|
String |
getUsage()
Get function usage string.
|
apply, getMaxArgs, getMinArgs, parseParamsgetHelpDetail, getName, getSessionModes, parseExpressionParams, parseNextParameterpublic String getUsage()
Functionpow(base, exponent).public String getHelpSummary()
Functionprotected 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.