|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface LoadState.LuaCompiler
Interface for the compiler, if it is installed.
| Method Summary | |
|---|---|
Prototype |
compile(int firstByte,
java.io.InputStream stream,
java.lang.String name)
Compile into a prototype, without taking the additional step of create a LuaFunction or LuaClosure |
LuaFunction |
load(int firstByte,
java.io.InputStream stream,
java.lang.String name,
LuaValue env)
Load into a Closure or LuaFunction, with the supplied initial environment |
LuaFunction |
load(Prototype p,
java.lang.String filename,
LuaValue env)
Load into a LuaFunction given a prototype. |
| Method Detail |
|---|
Prototype compile(int firstByte,
java.io.InputStream stream,
java.lang.String name)
throws java.io.IOException
java.io.IOException
LuaFunction load(int firstByte,
java.io.InputStream stream,
java.lang.String name,
LuaValue env)
throws java.io.IOException
java.io.IOException
LuaFunction load(Prototype p,
java.lang.String filename,
LuaValue env)
filename - TODO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||