|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LValue | |
|---|---|
| org.luaj.lib.j2se | |
| org.luaj.vm | |
| Uses of LValue in org.luaj.lib.j2se |
|---|
| Subclasses of LValue in org.luaj.lib.j2se | |
|---|---|
class |
LuajavaLib
|
| Fields in org.luaj.lib.j2se declared as LValue | |
|---|---|
LValue[] |
LuajavaLib.ParamsList.values
|
| Methods in org.luaj.lib.j2se that return LValue | |
|---|---|
static LValue |
CoerceJavaToLua.coerce(java.lang.Object o)
|
LValue |
CoerceJavaToLua.Coercion.coerce(java.lang.Object javaValue)
|
| Methods in org.luaj.lib.j2se with parameters of type LValue | |
|---|---|
java.lang.Object |
CoerceLuaToJava.Coercion.coerce(LValue value)
|
static java.lang.Object |
CoerceLuaToJava.coerceArg(LValue a,
java.lang.Class c)
Do a conversion |
int |
CoerceLuaToJava.Coercion.score(LValue value)
|
static int |
CoerceLuaToJava.scoreParamTypes(LValue[] suppliedArgs,
java.lang.Class[] paramTypes)
|
| Uses of LValue in org.luaj.vm |
|---|
| Subclasses of LValue in org.luaj.vm | |
|---|---|
class |
LBoolean
|
class |
LClosure
|
class |
LDouble
|
class |
LFunction
|
class |
LInteger
|
class |
LNil
|
class |
LNumber
|
class |
LString
A String implementation for Lua using bytes instead of chars. |
class |
LTable
Simple implementation of table structure for Lua VM. |
class |
LThread
Implementation of lua coroutines using Java Threads |
class |
LUserData
|
class |
LWeakTable
|
| Fields in org.luaj.vm declared as LValue | |
|---|---|
protected LValue |
LuaState.errfunc
|
protected LValue[] |
LTable.hashKeys
|
LValue[] |
LPrototype.k
|
LValue[] |
LuaState.stack
|
| Methods in org.luaj.vm that return LValue | |
|---|---|
LValue |
LFunction.__index(LuaState vm,
LValue table,
LValue key)
Process lua tag method __index when it points to a function. |
LValue |
LuaState.call(LFunction function)
Call a function with no arguments and one return value. |
LValue |
LuaState.call(LFunction function,
LValue arg0)
Call a function with one argument and one return value This may change values in the current stack frame. |
LValue |
LuaState.checkany(int narg)
Checks whether the function has an argument of any type (including nil) at position narg. |
LValue |
LuaState.checktype(int narg,
int t)
Checks whether the function argument narg has type
t and return it as an LValue. |
protected static LValue |
LValue.compareError(java.lang.Object typea,
java.lang.Object typeb)
|
LValue |
LTable.foreach(LuaState vm,
LFunction function,
boolean indexedonly)
Executes the given f over all elements of table. |
LValue |
LTable.get(int key)
Utility method for retrieving an integer-keyed value |
LValue |
LTable.get(LValue key)
Utility method to directly get the value in a table, without metatable calls. |
LValue[] |
LTable.getKeys()
Deprecated. this is not scalable. Does a linear search through the table. |
LValue |
UpVal.getValue()
|
LValue |
LDouble.luaBinOpDouble(int opcode,
double rhs)
|
LValue |
LInteger.luaBinOpDouble(int opcode,
double rhs)
|
LValue |
LString.luaBinOpDouble(int opcode,
double m_value)
|
LValue |
LValue.luaBinOpDouble(int opcode,
double m_value)
|
static LValue |
LDouble.luaBinOpDoubleDouble(int opcode,
double lhs,
double rhs)
|
LValue |
LDouble.luaBinOpInteger(int opcode,
int rhs)
|
LValue |
LInteger.luaBinOpInteger(int opcode,
int rhs)
|
LValue |
LString.luaBinOpInteger(int opcode,
int m_value)
|
LValue |
LValue.luaBinOpInteger(int opcode,
int m_value)
|
LValue |
LDouble.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LInteger.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LString.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LValue.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LValue.luaGetTable(LuaState vm,
LValue key)
Dispatch a gettable operation. |
LValue |
LTable.luaMaxN()
Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices. |
LValue |
LTable.luaRemovePos(int ikey)
Remove an element from the list, moving contiguous elements down |
LValue |
LNumber.luaToNumber()
Convert to a number if possible, or nil otherwise |
LValue |
LString.luaToNumber()
|
LValue |
LValue.luaToNumber()
Convert to a number if possible, or nil otherwise |
LValue |
LString.luaToNumber(int base)
|
LValue |
LDouble.luaUnaryMinus()
Arithmetic negative |
LValue |
LInteger.luaUnaryMinus()
Arithmetic negative |
LValue |
LString.luaUnaryMinus()
|
LValue |
LValue.luaUnaryMinus()
Arithmetic negative |
LValue |
LuaState.luaV_call_index(LFunction function,
LValue table,
LValue key)
Call an index function with two arguments and one return value Values in the current stack frame will be preserved. |
LValue |
LuaState.luaV_call_newindex(LFunction function,
LValue table,
LValue key,
LValue value)
Call a newindex function with three arguments and one return value Values in the current stack frame will be preserved. |
static LValue |
LuaState.luaV_getmetafield(LValue t,
LString tag)
|
LValue |
LuaState.luaV_gettable(LValue table,
LValue key)
Get a key from a table using full metatable processing |
protected LValue |
LTable.normalizeGet(java.lang.Object val)
Check for null, and convert to nilor leave alone |
protected LValue |
LWeakTable.normalizeGet(java.lang.Object val)
|
LValue |
LuaState.poplvalue()
|
LValue |
LuaState.tofunction(int index)
Get a value as a LFunction. |
LValue |
LuaState.tolnumber(int index)
Convert a value to an LNumber[-0, +0, -] |
LValue |
LuaState.topointer(int index)
Get the raw Object at a stack location. |
LValue |
LValue.toStrongReference()
Dereference a potentially weak reference, and return the value |
| Methods in org.luaj.vm with parameters of type LValue | |
|---|---|
LValue |
LFunction.__index(LuaState vm,
LValue table,
LValue key)
Process lua tag method __index when it points to a function. |
void |
LFunction.__newindex(LuaState vm,
LValue table,
LValue key,
LValue val)
Process lua tag method __newindex when it points to a function Default method calls the function using the vm. |
LValue |
LuaState.call(LFunction function,
LValue arg0)
Call a function with one argument and one return value This may change values in the current stack frame. |
boolean |
LTable.containsKey(LValue key)
Return true if the table contains an entry with the given key, false if not. |
void |
LuaState.doCall(LClosure c,
LValue[] args)
Put the closure on the stack with arguments, then perform the call. |
LValue |
LTable.get(LValue key)
Utility method to directly get the value in a table, without metatable calls. |
int |
LTable.hashFindSlot(LValue key)
|
java.lang.Object |
LTable.hashGet(LValue key)
|
protected void |
LTable.hashRemove(LValue key)
|
void |
LTable.hashSet(LValue key,
java.lang.Object value)
|
boolean |
LDouble.luaBinCmpUnknown(int opcode,
LValue lhs)
|
boolean |
LInteger.luaBinCmpUnknown(int opcode,
LValue lhs)
|
boolean |
LString.luaBinCmpUnknown(int opcode,
LValue lhs)
|
boolean |
LUserData.luaBinCmpUnknown(int opcode,
LValue lhs)
|
boolean |
LValue.luaBinCmpUnknown(int opcode,
LValue lhs)
|
LValue |
LDouble.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LInteger.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LString.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LValue.luaBinOpUnknown(int opcode,
LValue lhs)
|
LValue |
LValue.luaGetTable(LuaState vm,
LValue key)
Dispatch a gettable operation. |
void |
LTable.luaInsertPos(int ikey,
LValue value)
Insert element at a position in the list, shifting contiguous elements up. |
LTable |
LTable.luaSetMetatable(LValue metatable)
Valid for tables |
LTable |
LValue.luaSetMetatable(LValue metatable)
Valid for tables |
void |
LValue.luaSetTable(LuaState vm,
LValue key,
LValue val)
Dispatch a settable operation. |
void |
LTable.luaSort(LuaState vm,
LValue compare)
|
LValue |
LuaState.luaV_call_index(LFunction function,
LValue table,
LValue key)
Call an index function with two arguments and one return value Values in the current stack frame will be preserved. |
LValue |
LuaState.luaV_call_newindex(LFunction function,
LValue table,
LValue key,
LValue value)
Call a newindex function with three arguments and one return value Values in the current stack frame will be preserved. |
static LValue |
LuaState.luaV_getmetafield(LValue t,
LString tag)
|
LValue |
LuaState.luaV_gettable(LValue table,
LValue key)
Get a key from a table using full metatable processing |
void |
LuaState.luaV_settable(LValue table,
LValue key,
LValue val)
Get a key from a table using full metatable processing |
boolean |
LTable.next(LuaState vm,
LValue key,
boolean indexedonly)
Leave key,value pair on top, or nil if at end of list. |
boolean |
LWeakTable.next(LuaState vm,
LValue key,
boolean indexedonly)
|
protected java.lang.Object |
LTable.normalizePut(LValue val)
Check for nil, and convert to null or leave alone |
protected java.lang.Object |
LWeakTable.normalizePut(LValue val)
|
void |
LuaState.pushlvalue(LValue value)
Push an LValue onto the stack. |
void |
LTable.put(int key,
LValue val)
Method for putting an integer-keyed value. |
void |
LTable.put(LValue key,
LValue val)
Generic put method for all types of keys, but does not use the metatable. |
void |
LTable.put(java.lang.String key,
LValue val)
Utility method for putting a string-keyed value directly, typically for initializing a table. |
void |
UpVal.setValue(LValue value)
|
int |
LuaState.xpcall(int nargs,
int nreturns,
LValue errfunc)
Calls a function in protected mode with an error function. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||