|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.luaj.vm.LoadState
public class LoadState
| Nested Class Summary | |
|---|---|
static interface |
LoadState.LuaCompiler
Interface for the compiler, if it is installed. |
| Field Summary | |
|---|---|
static LoadState.LuaCompiler |
compiler
Compiler instance, if installed |
static int |
LUAC_FORMAT
for header of binary files -- this is the official format |
static int |
LUAC_HEADERSIZE
size of header of binary files |
static int |
LUAC_VERSION
for header of binary files -- this is Lua 5.1 |
static java.lang.String |
SOURCE_BINARY_STRING
Name for compiled chunks |
| Method Summary | |
|---|---|
static java.lang.String |
getSourceName(java.lang.String name)
|
LPrototype |
loadFunction(LString p)
|
void |
loadHeader()
|
static LNumber |
longBitsToLuaNumber(long bits)
|
static LPrototype |
undump(LuaState L,
java.io.InputStream stream,
java.lang.String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static LoadState.LuaCompiler compiler
public static final java.lang.String SOURCE_BINARY_STRING
public static final int LUAC_VERSION
public static final int LUAC_FORMAT
public static final int LUAC_HEADERSIZE
| Method Detail |
|---|
public static LNumber longBitsToLuaNumber(long bits)
public LPrototype loadFunction(LString p)
throws java.io.IOException
java.io.IOException
public void loadHeader()
throws java.io.IOException
java.io.IOException
public static LPrototype undump(LuaState L,
java.io.InputStream stream,
java.lang.String name)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getSourceName(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||