| 程序包 | 说明 |
|---|---|
| cn.mythoi.config | |
| org.luaj.vm2 | |
| org.luaj.vm2.compiler | |
| org.luaj.vm2.lib | |
| org.luaj.vm2.lib.jse | |
| org.luaj.vm2.luajc | |
| org.luaj.vm2.script | |
| org.luaj.vm2.server |
| 限定符和类型 | 方法和说明 |
|---|---|
Globals |
LuajAutoConfiguration.createGlobals() |
| 限定符和类型 | 字段和说明 |
|---|---|
Globals |
LuaThread.globals |
| 限定符和类型 | 方法和说明 |
|---|---|
Globals |
Globals.checkglobals()
Check that this object is a Globals object, and return it, otherwise throw an error.
|
Globals |
LuaValue.checkglobals()
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
LoadState.install(Globals globals)
Install this class as the standard Globals.Undumper for the supplied Globals
|
LuaFunction |
Globals.Loader.load(Prototype prototype,
String chunkname,
Globals globals,
LuaValue env)
Convert the prototype into a LuaFunction with the supplied environment.
|
| 构造器和说明 |
|---|
LuaClosure(Prototype p,
Globals globals,
LuaValue env)
Create a closure around a Prototype with a specific environment.
|
LuaThread(Globals globals)
Private constructor for main thread only
|
LuaThread(Globals globals,
LuaValue func)
Create a LuaThread around a function and environment
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
LuaC.install(Globals globals)
Install the compiler so that LoadState will first
try to use it when handed bytes that are
not already a compiled lua chunk.
|
LuaValue |
LuaC.load(InputStream stream,
String chunkname,
Globals globals)
已过时。
Use Globals.load(InputString, String, String) instead,
or LuaC.compile(InputStream, String) and construct LuaClosure directly.
|
LuaFunction |
LuaC.load(Prototype prototype,
String chunkname,
Globals globals,
LuaValue env) |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Globals |
OsLib.globals |
protected Globals |
IoLib.globals |
| 限定符和类型 | 方法和说明 |
|---|---|
static Globals |
JsePlatform.debugGlobals()
Create standard globals including the
DebugLib library. |
static Globals |
JsePlatform.standardGlobals()
Create a standard set of globals for JSE including all the libraries.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Hashtable |
LuaJC.compileAll(InputStream script,
String chunkname,
String filename,
Globals globals,
boolean genmain) |
Hashtable |
LuaJC.compileAll(Reader script,
String chunkname,
String filename,
Globals globals,
boolean genmain) |
static void |
LuaJC.install(Globals G)
Install the compiler as the main Globals.Loader to use in a set of globals.
|
LuaFunction |
LuaJC.load(Prototype p,
String name,
Globals globals,
LuaValue env) |
| 限定符和类型 | 字段和说明 |
|---|---|
Globals |
LuajContext.globals
Globals for this context instance.
|
| 限定符和类型 | 字段和说明 |
|---|---|
protected Globals |
DefaultLauncher.g |
Copyright © 2020. All rights reserved.