|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use LuaTable | |
---|---|
org.luaj.vm2 | |
org.luaj.vm2.lib |
Uses of LuaTable in org.luaj.vm2 |
---|
Subclasses of LuaTable in org.luaj.vm2 | |
---|---|
class |
Globals
Global environment used by luaj. |
Methods in org.luaj.vm2 that return LuaTable | |
---|---|
LuaTable |
LuaTable.checktable()
|
LuaTable |
LuaValue.checktable()
Check that this is a LuaTable , or throw LuaError if it is not |
LuaTable |
Varargs.checktable(int i)
Return argument i as a LuaTable if a lua table, or throw an error if any other type. |
static LuaTable |
LuaValue.listOf(LuaValue[] unnamedValues)
Construct a LuaTable initialized with supplied array values. |
static LuaTable |
LuaValue.listOf(LuaValue[] unnamedValues,
Varargs lastarg)
Construct a LuaTable initialized with supplied array values. |
static LuaTable |
WeakTable.make(boolean weakkeys,
boolean weakvalues)
|
LuaTable |
Varargs.opttable(int i,
LuaTable defval)
Return argument i as a LuaTable if a lua table, defval if nil, or throw a LuaError if any other type. |
LuaTable |
LuaNil.opttable(LuaTable defval)
|
LuaTable |
LuaTable.opttable(LuaTable defval)
|
LuaTable |
LuaValue.opttable(LuaTable defval)
Check that optional argument is a table and return as LuaTable |
static LuaTable |
LuaValue.tableOf()
Construct an empty LuaTable . |
static LuaTable |
LuaValue.tableOf(int narray,
int nhash)
Construct an empty LuaTable preallocated to hold array and hashed elements |
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues)
Construct a LuaTable initialized with supplied named values. |
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues)
Construct a LuaTable initialized with supplied named values and sequential elements. |
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues,
Varargs lastarg)
Construct a LuaTable initialized with supplied named values and sequential elements in an array part and as varargs. |
static LuaTable |
LuaValue.tableOf(Varargs varargs,
int firstarg)
Construct a LuaTable initialized with supplied array values. |
Methods in org.luaj.vm2 with parameters of type LuaTable | |
---|---|
LuaValue |
Globals.load(java.io.Reader reader,
java.lang.String chunkname,
LuaTable environment)
Load the content form a reader as a text file, supplying a custom environment. |
LuaValue |
Globals.load(java.lang.String script,
java.lang.String chunkname,
LuaTable environment)
Convenience function to load a string value as a script with a custom environment. |
LuaTable |
Varargs.opttable(int i,
LuaTable defval)
Return argument i as a LuaTable if a lua table, defval if nil, or throw a LuaError if any other type. |
LuaTable |
LuaNil.opttable(LuaTable defval)
|
LuaTable |
LuaTable.opttable(LuaTable defval)
|
LuaTable |
LuaValue.opttable(LuaTable defval)
Check that optional argument is a table and return as LuaTable |
Uses of LuaTable in org.luaj.vm2.lib |
---|
Methods in org.luaj.vm2.lib with parameters of type LuaTable | |
---|---|
void |
PackageLib.setIsLoaded(java.lang.String name,
LuaTable value)
Allow packages to mark themselves as loaded |
protected double |
OsLib.time(LuaTable table)
Returns the current time when called without arguments, or a time representing the date and time specified by the given table. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |