public abstract class AbstractFunctionAnyArg extends LuaFunction
| Constructor and Description |
|---|
AbstractFunctionAnyArg() |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(ExecutionContext context)
Invokes this function in the given execution context
context without arguments. |
void |
invoke(ExecutionContext context,
Object arg1)
Invokes this function in the given execution context
context with a single
argument arg1. |
void |
invoke(ExecutionContext context,
Object arg1,
Object arg2)
Invokes this function in the given execution context
context with two arguments,
arg1 and arg2. |
void |
invoke(ExecutionContext context,
Object arg1,
Object arg2,
Object arg3)
Invokes this function in the given execution context
context with three arguments,
arg1, arg2 and arg3. |
void |
invoke(ExecutionContext context,
Object arg1,
Object arg2,
Object arg3,
Object arg4)
Invokes this function in the given execution context
context with four arguments,
arg1, arg2, arg3 and arg4. |
void |
invoke(ExecutionContext context,
Object arg1,
Object arg2,
Object arg3,
Object arg4,
Object arg5)
Invokes this function in the given execution context
context with five arguments,
arg1, arg2, arg3, arg4 and arg5. |
invokepublic void invoke(ExecutionContext context) throws ResolvedControlThrowable
LuaFunctioncontext without arguments.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object) instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullResolvedControlThrowable - if the call initiates a non-local control changepublic void invoke(ExecutionContext context, Object arg1) throws ResolvedControlThrowable
LuaFunctioncontext with a single
argument arg1.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object, Object) instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullarg1 - call argument, may be nullResolvedControlThrowable - if the call initiates a non-local control changepublic void invoke(ExecutionContext context, Object arg1, Object arg2) throws ResolvedControlThrowable
LuaFunctioncontext with two arguments,
arg1 and arg2.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object, Object, Object) instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullarg1 - the first argument, may be nullarg2 - the second argument, may be nullResolvedControlThrowable - if the call initiates a non-local control changepublic void invoke(ExecutionContext context, Object arg1, Object arg2, Object arg3) throws ResolvedControlThrowable
LuaFunctioncontext with three arguments,
arg1, arg2 and arg3.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object, Object, Object, Object)
instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullarg1 - the first argument, may be nullarg2 - the second argument, may be nullarg3 - the third argument, may be nullResolvedControlThrowable - if the call initiates a non-local control changepublic void invoke(ExecutionContext context, Object arg1, Object arg2, Object arg3, Object arg4) throws ResolvedControlThrowable
LuaFunctioncontext with four arguments,
arg1, arg2, arg3 and arg4.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object, Object, Object, Object, Object)
instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullarg1 - the first argument, may be nullarg2 - the second argument, may be nullarg3 - the third argument, may be nullarg4 - the fourth argument, may be nullResolvedControlThrowable - if the call initiates a non-local control changepublic void invoke(ExecutionContext context, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) throws ResolvedControlThrowable
LuaFunctioncontext with five arguments,
arg1, arg2, arg3, arg4 and arg5.
The result of the invocation will be stored in the return buffer of the execution context.
This method throws a ResolvedControlThrowable:
this method is expected to have resolved non-local control changes up to the point
of its invocation.
This method is not meant to be invoked directly by client code, since
the invocation does not handle possible tail call returns and resolves non-local
control changes.
Unless it is known that this method does not perform a tail call,
use Dispatch.call(ExecutionContext, Object, Object, Object, Object, Object, Object)
instead.
The behaviour of this method is undefined when context is null.
invoke in class LuaFunctioncontext - execution context, must not be nullarg1 - the first argument, may be nullarg2 - the second argument, may be nullarg3 - the third argument, may be nullarg4 - the fourth argument, may be nullarg5 - the fifth argument, may be nullResolvedControlThrowable - if the call initiates a non-local control changeCopyright © 2016. All rights reserved.