| Package | Description |
|---|---|
| org.classdump.luna.env |
Access to the runtime environment accessed by the standard library.
|
| org.classdump.luna.lib |
An abstract interface to the standard library.
|
| Modifier and Type | Method and Description |
|---|---|
static RuntimeEnvironment |
RuntimeEnvironments.system()
Returns the system runtime environment.
|
static RuntimeEnvironment |
RuntimeEnvironments.system(InputStream in,
OutputStream out,
OutputStream err)
Returns the system runtime environment that uses the specified standard input,
output and error streams.
|
| Modifier and Type | Method and Description |
|---|---|
static org.classdump.luna.runtime.LuaFunction |
OsLib.clock(RuntimeEnvironment runtimeEnvironment)
Returns a function
os.clock that uses the runtime environment
runtimeEnvironment. |
static org.classdump.luna.runtime.LuaFunction |
OsLib.getenv(RuntimeEnvironment runtimeEnvironment)
Returns a function
os.getenv that uses the runtime environment
runtimeEnvironment. |
static StandardLibrary |
StandardLibrary.in(RuntimeEnvironment environment)
Returns a default configuration for the specified environment.
|
static void |
OsLib.installInto(org.classdump.luna.StateContext context,
org.classdump.luna.Table env,
RuntimeEnvironment runtimeEnvironment)
Installs the coroutine library to the global environment
env in the state
context context. |
static void |
IoLib.installInto(org.classdump.luna.StateContext context,
org.classdump.luna.Table env,
RuntimeEnvironment runtimeEnvironment)
Installs the I/O library to the global environment
env in the state
context context. |
static void |
BasicLib.installInto(org.classdump.luna.StateContext context,
org.classdump.luna.Table env,
RuntimeEnvironment runtimeEnvironment,
org.classdump.luna.load.ChunkLoader loader)
Installs the basic library into the specified table
env in the state context
context. |
static void |
ModuleLib.installInto(org.classdump.luna.StateContext context,
org.classdump.luna.Table env,
RuntimeEnvironment runtimeEnvironment,
org.classdump.luna.load.ChunkLoader chunkLoader,
ClassLoader classLoader)
Installs the package library to the global environment
env in the state
context context. |
org.classdump.luna.runtime.LuaFunction |
LoaderProvider.newLoader(RuntimeEnvironment runtimeEnvironment,
org.classdump.luna.Table env)
Returns a new instance of the loader function for this library.
|
Copyright © 2016–2017. All rights reserved.