| 程序包 | 说明 |
|---|---|
| org.luaj.vm2 | |
| org.luaj.vm2.lib |
| 限定符和类型 | 方法和说明 |
|---|---|
LuaClosure |
LuaValue.checkclosure()
Check that the value is a
LuaClosure ,
or throw LuaError if not
LuaClosure is a subclass of LuaFunction that interprets lua bytecode. |
LuaClosure |
LuaClosure.checkclosure() |
LuaClosure |
Varargs.checkclosure(int i)
Return argument i as a closure, or throw an error if any other type.
|
LuaClosure |
Varargs.optclosure(int i,
LuaClosure defval)
Return argument i as a closure,
defval if nil, or throw a LuaError if any other type. |
LuaClosure |
LuaNil.optclosure(LuaClosure defval) |
LuaClosure |
LuaValue.optclosure(LuaClosure defval)
Check that optional argument is a closure and return as
LuaClosure
A LuaClosure is a LuaFunction that executes lua byteccode. |
LuaClosure |
LuaClosure.optclosure(LuaClosure defval) |
| 限定符和类型 | 方法和说明 |
|---|---|
LuaClosure |
Varargs.optclosure(int i,
LuaClosure defval)
Return argument i as a closure,
defval if nil, or throw a LuaError if any other type. |
LuaClosure |
LuaNil.optclosure(LuaClosure defval) |
LuaClosure |
LuaValue.optclosure(LuaClosure defval)
Check that optional argument is a closure and return as
LuaClosure
A LuaClosure is a LuaFunction that executes lua byteccode. |
LuaClosure |
LuaClosure.optclosure(LuaClosure defval) |
static void |
Print.printState(LuaClosure cl,
int pc,
LuaValue[] stack,
int top,
Varargs varargs)
Print the state of a
LuaClosure that is being executed |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DebugLib.onCall(LuaClosure c,
Varargs varargs,
LuaValue[] stack) |
Copyright © 2020. All rights reserved.