Package | Description |
---|---|
net.sandius.rembulan.impl |
Contains the default data structure implementations and support classes.
|
net.sandius.rembulan.load |
Provides interfaces for loading Lua programs into the runtime.
|
net.sandius.rembulan.runtime |
Provides the core runtime functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
UnimplementedFunction
A function that throws an
UnsupportedOperationException when invoked,
for use as a placeholder for unimplemented functions. |
Constructor and Description |
---|
NonsuspendableFunctionException(Class<? extends LuaFunction> clazz)
Constructs a new instance of
NonsuspendableFunctionException with the argument
clazz indicating the class of the function (for inclusion in the error message). |
Modifier and Type | Method and Description |
---|---|
LuaFunction |
ChunkLoader.loadTextChunk(Variable env,
String chunkName,
String chunk)
Loads the text chunk
chunk (a string containing a Lua program) and returns
it as an instance of LuaFunction , supplying env as the chunk's sole
upvalue. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFunction0
Abstract function without arguments.
|
class |
AbstractFunction1
Abstract function of a single argument.
|
class |
AbstractFunction2
Abstract function of two arguments.
|
class |
AbstractFunction3
Abstract function of three arguments.
|
class |
AbstractFunction4
Abstract function of four arguments.
|
class |
AbstractFunction5
Abstract function of five arguments.
|
class |
AbstractFunctionAnyArg
Abstract function of an arbitrary number of arguments.
|
Modifier and Type | Method and Description |
---|---|
Coroutine |
ExecutionContext.newCoroutine(LuaFunction function)
Returns a new coroutine with the body
function . |
Copyright © 2016. All rights reserved.