|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LuaFunction | |
|---|---|
| org.luaj.vm2 | |
| org.luaj.vm2.compiler | |
| Uses of LuaFunction in org.luaj.vm2 |
|---|
| Subclasses of LuaFunction in org.luaj.vm2 | |
|---|---|
class |
LuaClosure
Extension of LuaFunction which executes lua bytecode. |
| Methods in org.luaj.vm2 that return LuaFunction | |
|---|---|
LuaFunction |
LoadState.LuaCompiler.load(java.io.InputStream stream,
java.lang.String filename,
LuaValue env)
Load into a Closure or LuaFunction from a Stream and initializes the environment |
static LuaFunction |
LoadState.load(java.io.InputStream stream,
java.lang.String name,
java.lang.String mode,
LuaValue env)
Load lua in either binary or text form from an input stream. |
LuaFunction |
Varargs.optfunction(int i,
LuaFunction defval)
Return argument i as a function, defval if nil, or throw a LuaError if an incompatible type. |
LuaFunction |
LuaFunction.optfunction(LuaFunction defval)
|
LuaFunction |
LuaNil.optfunction(LuaFunction defval)
|
LuaFunction |
LuaValue.optfunction(LuaFunction defval)
Check that optional argument is a function and return as LuaFunction |
| Methods in org.luaj.vm2 with parameters of type LuaFunction | |
|---|---|
LuaFunction |
Varargs.optfunction(int i,
LuaFunction defval)
Return argument i as a function, defval if nil, or throw a LuaError if an incompatible type. |
LuaFunction |
LuaFunction.optfunction(LuaFunction defval)
|
LuaFunction |
LuaNil.optfunction(LuaFunction defval)
|
LuaFunction |
LuaValue.optfunction(LuaFunction defval)
Check that optional argument is a function and return as LuaFunction |
| Uses of LuaFunction in org.luaj.vm2.compiler |
|---|
| Methods in org.luaj.vm2.compiler that return LuaFunction | |
|---|---|
LuaFunction |
LuaC.load(java.io.InputStream stream,
java.lang.String name,
LuaValue env)
Load into a Closure or LuaFunction, with the supplied initial environment |
LuaFunction |
LuaC.load(Prototype p,
java.lang.String filename,
LuaValue env)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||