public interface BTFunction extends ServerSideFunction
BTFunctionClause
Modifier and Type | Method and Description |
---|---|
BaseType |
evaluate(java.util.List args)
Evaluates the function using the argument list given.
|
BaseType |
getReturnType(java.util.List args)
A given function must always evaluate to the same class
of BaseType.
|
checkArgs, getName
BaseType getReturnType(java.util.List args) throws InvalidParameterException
InvalidParameterException
BaseType evaluate(java.util.List args) throws DAP2ServerSideException
DAP2ServerSideException
- Thrown if the function
cannot evaluate successfully. The exact type of exception is up
to the author of the server-side function.