|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LuaValue | |
|---|---|
| org.luaj.vm2 | |
| org.luaj.vm2.compiler | |
| Uses of LuaValue in org.luaj.vm2 |
|---|
| Subclasses of LuaValue in org.luaj.vm2 | |
|---|---|
class |
LuaBoolean
|
class |
LuaClosure
|
class |
LuaDouble
|
class |
LuaFunction
|
class |
LuaInteger
|
class |
LuaNil
|
class |
LuaNumber
|
class |
LuaString
|
class |
LuaTable
|
class |
LuaThread
Implementation of lua coroutines using Java Threads |
class |
LuaUserdata
|
class |
WeakTable
|
| Fields in org.luaj.vm2 declared as LuaValue | |
|---|---|
protected LuaValue[] |
LuaTable.array
|
protected LuaValue |
LuaFunction.env
|
LuaValue |
LuaThread.err
|
protected LuaValue[] |
LuaTable.hashKeys
|
protected LuaValue[] |
LuaTable.hashValues
|
LuaValue[] |
Prototype.k
|
LuaValue |
LuaUserdata.m_metatable
|
static LuaValue |
LuaValue.NIL
|
static LuaValue[] |
LuaValue.NILS
|
static LuaValue |
LuaValue.NONE
|
static LuaValue[] |
LuaValue.NOVALS
|
static LuaValue |
LuaBoolean.s_metatable
|
LuaValue |
LuaClosure.s_metatable
|
static LuaValue |
LuaFunction.s_metatable
|
static LuaValue |
LuaNil.s_metatable
|
static LuaValue |
LuaNumber.s_metatable
|
static LuaValue |
LuaString.s_metatable
|
static LuaValue |
LuaThread.s_metatable
|
| Methods in org.luaj.vm2 that return LuaValue | |
|---|---|
LuaValue |
LuaDouble.add(double lhs)
|
LuaValue |
LuaInteger.add(double lhs)
|
LuaValue |
LuaString.add(double lhs)
|
LuaValue |
LuaValue.add(double rhs)
|
LuaValue |
LuaInteger.add(int lhs)
|
LuaValue |
LuaValue.add(int rhs)
|
LuaValue |
LuaDouble.add(LuaValue rhs)
|
LuaValue |
LuaInteger.add(LuaValue rhs)
|
LuaValue |
LuaString.add(LuaValue rhs)
|
LuaValue |
LuaValue.add(LuaValue rhs)
|
LuaValue |
LuaValue.and(LuaValue rhs)
|
LuaValue |
LuaValue.arg(int index)
|
LuaValue |
TailcallVarargs.arg(int i)
|
abstract LuaValue |
Varargs.arg(int i)
Get the n-th argument value (1-based) |
LuaValue |
LuaValue.arg1()
|
LuaValue |
TailcallVarargs.arg1()
|
abstract LuaValue |
Varargs.arg1()
Get the first argument |
static LuaValue |
LuaValue.argerror(int iarg,
java.lang.String msg)
|
protected LuaValue |
LuaValue.argerror(java.lang.String expected)
|
protected LuaValue |
LuaValue.aritherror()
|
protected LuaValue |
LuaValue.aritherror(java.lang.String fun)
|
LuaValue |
LuaClosure.call()
|
LuaValue |
LuaValue.call()
|
LuaValue |
LuaClosure.call(LuaValue arg)
|
LuaValue |
LuaValue.call(LuaValue arg)
|
LuaValue |
LuaClosure.call(LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaValue.call(LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaClosure.call(LuaValue arg1,
LuaValue arg2,
LuaValue arg3)
|
LuaValue |
LuaValue.call(LuaValue arg1,
LuaValue arg2,
LuaValue arg3)
|
protected LuaValue |
LuaValue.callerror()
|
LuaValue |
LuaFunction.checkfunction()
|
LuaValue |
LuaValue.checkfunction()
|
LuaValue |
Varargs.checkfunction(int i)
|
LuaValue |
LuaNil.checknotnil()
|
LuaValue |
LuaValue.checknotnil()
|
LuaValue |
Varargs.checknotnil(int i)
|
LuaValue |
LuaDouble.checkvalidkey()
|
LuaValue |
LuaNil.checkvalidkey()
|
LuaValue |
LuaValue.checkvalidkey()
|
LuaValue |
Varargs.checkvalue(int i)
|
protected LuaValue |
LuaValue.compareerror(LuaValue rhs)
|
protected LuaValue |
LuaValue.compareerror(java.lang.String rhs)
|
LuaValue |
LuaTable.concat(LuaString sep,
int i,
int j)
|
LuaValue |
LuaValue.concat(LuaValue rhs)
|
static LuaValue |
LuaDouble.ddiv(double lhs,
double rhs)
lua division is always double, specific values for singularities |
LuaValue |
LuaDouble.div(LuaValue rhs)
|
LuaValue |
LuaInteger.div(LuaValue rhs)
|
LuaValue |
LuaString.div(LuaValue rhs)
|
LuaValue |
LuaValue.div(LuaValue rhs)
|
LuaValue |
LuaDouble.divInto(double lhs)
|
LuaValue |
LuaInteger.divInto(double lhs)
|
LuaValue |
LuaString.divInto(double lhs)
|
LuaValue |
LuaValue.divInto(double lhs)
|
static LuaValue |
LuaDouble.dmod(double lhs,
double rhs)
lua module is always wrt double. |
LuaValue |
LuaValue.eq(LuaValue val)
|
static LuaValue |
LuaValue.error(java.lang.String message)
|
LuaValue |
LuaTable.foreach(LuaValue func)
Call the supplied function once for each key-value pair |
LuaValue |
LuaTable.foreachi(LuaValue func)
Call the supplied function once for each key-value pair in the contiguous array part |
LuaValue |
LuaTable.get(int key)
|
LuaValue |
LuaValue.get(int key)
|
LuaValue |
LuaString.get(LuaValue key)
|
LuaValue |
LuaTable.get(LuaValue key)
|
LuaValue |
LuaUserdata.get(LuaValue key)
|
LuaValue |
LuaValue.get(LuaValue key)
|
LuaValue |
LuaValue.get(java.lang.String key)
|
LuaValue |
LuaFunction.getfenv()
|
LuaValue |
LuaThread.getfenv()
|
LuaValue |
LuaValue.getfenv()
|
static LuaValue |
LuaThread.getGlobals()
Get the current thread's environment |
LuaValue |
LuaBoolean.getmetatable()
|
LuaValue |
LuaClosure.getmetatable()
|
LuaValue |
LuaFunction.getmetatable()
|
LuaValue |
LuaNil.getmetatable()
|
LuaValue |
LuaNumber.getmetatable()
|
LuaValue |
LuaString.getmetatable()
|
LuaValue |
LuaTable.getmetatable()
|
LuaValue |
LuaThread.getmetatable()
|
LuaValue |
LuaUserdata.getmetatable()
|
LuaValue |
LuaValue.getmetatable()
|
LuaValue |
LuaTable.getn()
|
LuaValue |
LuaValue.getn()
|
protected static LuaValue |
LuaValue.gettable(LuaValue t,
LuaValue key)
get value from metatable operations, or NIL if not defined by metatables |
protected LuaValue |
LuaClosure.getUpvalue(int i)
|
LuaValue |
UpValue.getValue()
|
LuaValue |
LuaDouble.gt(LuaValue rhs)
|
LuaValue |
LuaInteger.gt(LuaValue rhs)
|
LuaValue |
LuaString.gt(LuaValue rhs)
|
LuaValue |
LuaValue.gt(LuaValue rhs)
|
LuaValue |
LuaDouble.gteq(LuaValue rhs)
|
LuaValue |
LuaInteger.gteq(LuaValue rhs)
|
LuaValue |
LuaString.gteq(LuaValue rhs)
|
LuaValue |
LuaValue.gteq(LuaValue rhs)
|
LuaValue |
LuaValue.incr()
Deprecated. - used in samples only, use add(1) instead |
LuaValue[] |
LuaTable.keys()
Value used in testing to enumerate the keys |
LuaValue |
LuaString.len()
|
LuaValue |
LuaTable.len()
|
LuaValue |
LuaValue.len()
|
protected LuaValue |
LuaValue.lenerror()
|
LuaValue |
LuaValue.load(LuaValue library)
|
static LuaValue |
LoadState.longBitsToLuaNumber(long bits)
|
LuaValue |
LuaDouble.lt(LuaValue rhs)
|
LuaValue |
LuaInteger.lt(LuaValue rhs)
|
LuaValue |
LuaString.lt(LuaValue rhs)
|
LuaValue |
LuaValue.lt(LuaValue rhs)
|
LuaValue |
LuaDouble.lteq(LuaValue rhs)
|
LuaValue |
LuaInteger.lteq(LuaValue rhs)
|
LuaValue |
LuaString.lteq(LuaValue rhs)
|
LuaValue |
LuaValue.lteq(LuaValue rhs)
|
LuaValue |
LuaValue.metatag(LuaValue tag)
|
LuaValue |
LuaValue.method(LuaValue name)
|
LuaValue |
LuaValue.method(LuaValue name,
LuaValue arg)
|
LuaValue |
LuaValue.method(LuaValue name,
LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaValue.method(java.lang.String name)
|
LuaValue |
LuaValue.method(java.lang.String name,
LuaValue arg)
|
LuaValue |
LuaValue.method(java.lang.String name,
LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaDouble.mod(LuaValue rhs)
|
LuaValue |
LuaInteger.mod(LuaValue rhs)
|
LuaValue |
LuaString.mod(LuaValue rhs)
|
LuaValue |
LuaValue.mod(LuaValue rhs)
|
LuaValue |
LuaDouble.modFrom(double lhs)
|
LuaValue |
LuaInteger.modFrom(double lhs)
|
LuaValue |
LuaString.modFrom(double lhs)
|
LuaValue |
LuaValue.modFrom(double lhs)
|
LuaValue |
LuaDouble.mul(double lhs)
|
LuaValue |
LuaInteger.mul(double lhs)
|
LuaValue |
LuaString.mul(double lhs)
|
LuaValue |
LuaValue.mul(double rhs)
|
LuaValue |
LuaDouble.mul(int lhs)
|
LuaValue |
LuaInteger.mul(int lhs)
|
LuaValue |
LuaString.mul(int lhs)
|
LuaValue |
LuaValue.mul(int rhs)
|
LuaValue |
LuaDouble.mul(LuaValue rhs)
|
LuaValue |
LuaInteger.mul(LuaValue rhs)
|
LuaValue |
LuaString.mul(LuaValue rhs)
|
LuaValue |
LuaValue.mul(LuaValue rhs)
|
LuaValue |
LuaDouble.neg()
|
LuaValue |
LuaInteger.neg()
|
LuaValue |
LuaString.neg()
|
LuaValue |
LuaValue.neg()
|
LuaValue |
LuaValue.neq(LuaValue val)
|
LuaValue |
LuaBoolean.not()
|
LuaValue |
LuaNil.not()
|
LuaValue |
LuaValue.not()
|
LuaValue |
Varargs.optvalue(int i,
LuaValue defval)
|
LuaValue |
LuaNil.optvalue(LuaValue defval)
|
LuaValue |
LuaValue.optvalue(LuaValue defval)
|
LuaValue |
LuaValue.or(LuaValue rhs)
|
LuaValue |
LuaDouble.pow(LuaValue rhs)
|
LuaValue |
LuaInteger.pow(LuaValue rhs)
|
LuaValue |
LuaString.pow(LuaValue rhs)
|
LuaValue |
LuaValue.pow(LuaValue rhs)
|
LuaValue |
LuaDouble.powWith(double lhs)
|
LuaValue |
LuaInteger.powWith(double lhs)
|
LuaValue |
LuaString.powWith(double lhs)
|
LuaValue |
LuaValue.powWith(double lhs)
|
LuaValue |
LuaDouble.powWith(int lhs)
|
LuaValue |
LuaInteger.powWith(int lhs)
|
LuaValue |
LuaString.powWith(int lhs)
|
LuaValue |
LuaValue.powWith(int lhs)
|
LuaValue |
LuaTable.rawget(int key)
|
LuaValue |
LuaValue.rawget(int key)
|
LuaValue |
WeakTable.rawget(int key)
|
LuaValue |
LuaTable.rawget(LuaValue key)
|
LuaValue |
LuaValue.rawget(LuaValue key)
|
LuaValue |
WeakTable.rawget(LuaValue key)
|
LuaValue |
LuaValue.rawget(java.lang.String key)
|
LuaValue |
LuaTable.remove(int pos)
|
LuaValue |
LuaTable.setmetatable(LuaValue metatable)
|
LuaValue |
LuaUserdata.setmetatable(LuaValue metatable)
|
LuaValue |
LuaValue.setmetatable(LuaValue metatable)
|
LuaValue |
LuaValue.strongvalue()
|
LuaValue |
LuaDouble.sub(LuaValue rhs)
|
LuaValue |
LuaInteger.sub(LuaValue rhs)
|
LuaValue |
LuaString.sub(LuaValue rhs)
|
LuaValue |
LuaValue.sub(LuaValue rhs)
|
LuaValue |
LuaDouble.subFrom(double lhs)
|
LuaValue |
LuaInteger.subFrom(double lhs)
|
LuaValue |
LuaString.subFrom(double lhs)
|
LuaValue |
LuaValue.subFrom(double lhs)
|
LuaValue |
LuaInteger.subFrom(int lhs)
|
LuaValue |
LuaValue.subFrom(int lhs)
|
LuaValue |
LuaDouble.tonumber()
|
LuaValue |
LuaNumber.tonumber()
|
LuaValue |
LuaString.tonumber()
|
LuaValue |
LuaValue.tonumber()
|
LuaValue |
LuaString.tonumber(int base)
convert to a number using a supplied base, or NIL if it can't be converted |
LuaValue |
LuaDouble.tostring()
|
LuaValue |
LuaInteger.tostring()
|
LuaValue |
LuaString.tostring()
|
LuaValue |
LuaValue.tostring()
|
protected LuaValue |
LuaValue.typerror(java.lang.String expected)
|
protected LuaValue |
LuaValue.unimplemented(java.lang.String fun)
|
| Methods in org.luaj.vm2 with parameters of type LuaValue | |
|---|---|
LuaValue |
LuaDouble.add(LuaValue rhs)
|
LuaValue |
LuaInteger.add(LuaValue rhs)
|
LuaValue |
LuaString.add(LuaValue rhs)
|
LuaValue |
LuaValue.add(LuaValue rhs)
|
LuaValue |
LuaValue.and(LuaValue rhs)
|
void |
Buffer.append(LuaValue val)
|
LuaValue |
LuaClosure.call(LuaValue arg)
|
LuaValue |
LuaValue.call(LuaValue arg)
|
LuaValue |
LuaClosure.call(LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaValue.call(LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaClosure.call(LuaValue arg1,
LuaValue arg2,
LuaValue arg3)
|
LuaValue |
LuaValue.call(LuaValue arg1,
LuaValue arg2,
LuaValue arg3)
|
protected LuaValue |
LuaValue.compareerror(LuaValue rhs)
|
java.lang.String |
LuaDouble.concat_s(LuaValue rhs)
|
java.lang.String |
LuaInteger.concat_s(LuaValue rhs)
|
java.lang.String |
LuaString.concat_s(LuaValue rhs)
|
java.lang.String |
LuaValue.concat_s(LuaValue rhs)
|
LuaValue |
LuaValue.concat(LuaValue rhs)
|
LuaValue |
LuaDouble.div(LuaValue rhs)
|
LuaValue |
LuaInteger.div(LuaValue rhs)
|
LuaValue |
LuaString.div(LuaValue rhs)
|
LuaValue |
LuaValue.div(LuaValue rhs)
|
boolean |
LuaDouble.eq_b(LuaValue rhs)
|
boolean |
LuaInteger.eq_b(LuaValue rhs)
|
boolean |
LuaString.eq_b(LuaValue val)
|
boolean |
LuaUserdata.eq_b(LuaValue val)
|
boolean |
LuaValue.eq_b(LuaValue val)
|
LuaValue |
LuaValue.eq(LuaValue val)
|
protected Varargs |
LuaClosure.execute(LuaValue[] stack,
Varargs varargs)
|
LuaValue |
LuaTable.foreach(LuaValue func)
Call the supplied function once for each key-value pair |
LuaValue |
LuaTable.foreachi(LuaValue func)
Call the supplied function once for each key-value pair in the contiguous array part |
LuaValue |
LuaString.get(LuaValue key)
|
LuaValue |
LuaTable.get(LuaValue key)
|
LuaValue |
LuaUserdata.get(LuaValue key)
|
LuaValue |
LuaValue.get(LuaValue key)
|
protected static LuaValue |
LuaValue.gettable(LuaValue t,
LuaValue key)
get value from metatable operations, or NIL if not defined by metatables |
boolean |
LuaDouble.gt_b(LuaValue rhs)
|
boolean |
LuaInteger.gt_b(LuaValue rhs)
|
boolean |
LuaString.gt_b(LuaValue rhs)
|
boolean |
LuaValue.gt_b(LuaValue rhs)
|
LuaValue |
LuaDouble.gt(LuaValue rhs)
|
LuaValue |
LuaInteger.gt(LuaValue rhs)
|
LuaValue |
LuaString.gt(LuaValue rhs)
|
LuaValue |
LuaValue.gt(LuaValue rhs)
|
boolean |
LuaDouble.gteq_b(LuaValue rhs)
|
boolean |
LuaInteger.gteq_b(LuaValue rhs)
|
boolean |
LuaString.gteq_b(LuaValue rhs)
|
boolean |
LuaValue.gteq_b(LuaValue rhs)
|
LuaValue |
LuaDouble.gteq(LuaValue rhs)
|
LuaValue |
LuaInteger.gteq(LuaValue rhs)
|
LuaValue |
LuaString.gteq(LuaValue rhs)
|
LuaValue |
LuaValue.gteq(LuaValue rhs)
|
int |
LuaTable.hashFindSlot(LuaValue key)
|
void |
LuaTable.hashset(LuaValue key,
LuaValue value)
|
Varargs |
LuaTable.inext(LuaValue key)
Get the next element after a particular key in the contiguous array part of a table |
Varargs |
LuaValue.inext(LuaValue index)
|
void |
LuaTable.insert(int pos,
LuaValue value)
|
Varargs |
LuaValue.invoke(LuaValue[] args)
|
Varargs |
LuaValue.invoke(LuaValue[] args,
Varargs varargs)
|
Varargs |
LuaValue.invoke(LuaValue arg1,
LuaValue arg2,
Varargs varargs)
|
Varargs |
LuaValue.invoke(LuaValue arg,
Varargs varargs)
|
Varargs |
LuaValue.invokemethod(LuaValue name,
LuaValue[] args)
|
Varargs |
LuaValue.invokemethod(LuaValue name,
LuaValue[] args)
|
Varargs |
LuaValue.invokemethod(LuaValue name,
Varargs args)
|
Varargs |
LuaValue.invokemethod(java.lang.String name,
LuaValue[] args)
|
static LuaTable |
LuaValue.listOf(LuaValue[] unnamedValues)
|
static LuaTable |
LuaValue.listOf(LuaValue[] unnamedValues,
Varargs lastarg)
|
static LuaFunction |
LoadState.load(java.io.InputStream stream,
java.lang.String name,
LuaValue env)
|
LuaFunction |
LoadState.LuaCompiler.load(int firstByte,
java.io.InputStream stream,
java.lang.String name,
LuaValue env)
Load into a Closure or LuaFunction, with the supplied initial environment |
LuaValue |
LuaValue.load(LuaValue library)
|
LuaFunction |
LoadState.LuaCompiler.load(Prototype p,
java.lang.String filename,
LuaValue env)
Load into a LuaFunction given a prototype. |
boolean |
LuaDouble.lt_b(LuaValue rhs)
|
boolean |
LuaInteger.lt_b(LuaValue rhs)
|
boolean |
LuaString.lt_b(LuaValue rhs)
|
boolean |
LuaValue.lt_b(LuaValue rhs)
|
LuaValue |
LuaDouble.lt(LuaValue rhs)
|
LuaValue |
LuaInteger.lt(LuaValue rhs)
|
LuaValue |
LuaString.lt(LuaValue rhs)
|
LuaValue |
LuaValue.lt(LuaValue rhs)
|
boolean |
LuaDouble.lteq_b(LuaValue rhs)
|
boolean |
LuaInteger.lteq_b(LuaValue rhs)
|
boolean |
LuaString.lteq_b(LuaValue rhs)
|
boolean |
LuaValue.lteq_b(LuaValue rhs)
|
LuaValue |
LuaDouble.lteq(LuaValue rhs)
|
LuaValue |
LuaInteger.lteq(LuaValue rhs)
|
LuaValue |
LuaString.lteq(LuaValue rhs)
|
LuaValue |
LuaValue.lteq(LuaValue rhs)
|
LuaValue |
LuaValue.metatag(LuaValue tag)
|
LuaValue |
LuaValue.method(LuaValue name)
|
LuaValue |
LuaValue.method(LuaValue name,
LuaValue arg)
|
LuaValue |
LuaValue.method(LuaValue name,
LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaValue.method(java.lang.String name,
LuaValue arg)
|
LuaValue |
LuaValue.method(java.lang.String name,
LuaValue arg1,
LuaValue arg2)
|
LuaValue |
LuaDouble.mod(LuaValue rhs)
|
LuaValue |
LuaInteger.mod(LuaValue rhs)
|
LuaValue |
LuaString.mod(LuaValue rhs)
|
LuaValue |
LuaValue.mod(LuaValue rhs)
|
LuaValue |
LuaDouble.mul(LuaValue rhs)
|
LuaValue |
LuaInteger.mul(LuaValue rhs)
|
LuaValue |
LuaString.mul(LuaValue rhs)
|
LuaValue |
LuaValue.mul(LuaValue rhs)
|
boolean |
LuaValue.neq_b(LuaValue val)
|
LuaValue |
LuaValue.neq(LuaValue val)
|
Varargs |
LuaTable.next(LuaValue key)
Get the next element after a particular key in the table |
Varargs |
LuaValue.next(LuaValue index)
|
LuaValue |
Varargs.optvalue(int i,
LuaValue defval)
|
LuaValue |
LuaNil.optvalue(LuaValue defval)
|
LuaValue |
LuaValue.optvalue(LuaValue defval)
|
LuaValue |
LuaValue.or(LuaValue rhs)
|
LuaValue |
LuaDouble.pow(LuaValue rhs)
|
LuaValue |
LuaInteger.pow(LuaValue rhs)
|
LuaValue |
LuaString.pow(LuaValue rhs)
|
LuaValue |
LuaValue.pow(LuaValue rhs)
|
static void |
Print.printState(LuaClosure cl,
int pc,
LuaValue[] stack,
int top,
Varargs varargs)
|
LuaValue |
LuaTable.rawget(LuaValue key)
|
LuaValue |
LuaValue.rawget(LuaValue key)
|
LuaValue |
WeakTable.rawget(LuaValue key)
|
void |
LuaTable.rawset(int key,
LuaValue value)
|
void |
LuaValue.rawset(int key,
LuaValue value)
|
void |
WeakTable.rawset(int key,
LuaValue val)
|
void |
LuaTable.rawset(LuaValue key,
LuaValue value)
caller must ensure key is not nil |
void |
LuaValue.rawset(LuaValue key,
LuaValue value)
|
void |
WeakTable.rawset(LuaValue key,
LuaValue val)
|
void |
LuaValue.rawset(java.lang.String key,
LuaValue value)
|
void |
LuaTable.set(int key,
LuaValue value)
|
void |
LuaValue.set(int key,
LuaValue value)
|
void |
LuaTable.set(LuaValue key,
LuaValue value)
caller must ensure key is not nil |
void |
LuaUserdata.set(LuaValue key,
LuaValue value)
|
void |
LuaValue.set(LuaValue key,
LuaValue value)
|
void |
LuaValue.set(java.lang.String key,
LuaValue value)
|
void |
LuaFunction.setfenv(LuaValue env)
|
void |
LuaThread.setfenv(LuaValue env)
|
void |
LuaValue.setfenv(LuaValue env)
|
static void |
LuaThread.setGlobals(LuaValue globals)
Set the globals of the current thread |
LuaValue |
LuaTable.setmetatable(LuaValue metatable)
|
LuaValue |
LuaUserdata.setmetatable(LuaValue metatable)
|
LuaValue |
LuaValue.setmetatable(LuaValue metatable)
|
protected static boolean |
LuaValue.settable(LuaValue t,
LuaValue key,
LuaValue val)
returns true if value was set via metatable processing, false otherwise |
protected void |
LuaClosure.setUpvalue(int i,
LuaValue v)
|
void |
UpValue.setValue(LuaValue value)
|
void |
LuaTable.sort(LuaValue comparator)
|
int |
LuaString.strcmp(LuaValue lhs)
|
int |
LuaValue.strcmp(LuaValue rhs)
|
LuaValue |
LuaDouble.sub(LuaValue rhs)
|
LuaValue |
LuaInteger.sub(LuaValue rhs)
|
LuaValue |
LuaString.sub(LuaValue rhs)
|
LuaValue |
LuaValue.sub(LuaValue rhs)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues,
Varargs lastarg)
|
static LuaTable |
LuaValue.tableOf(LuaValue[] namedValues,
LuaValue[] unnamedValues,
Varargs lastarg)
|
static Varargs |
LuaValue.tailcallOf(LuaValue func,
Varargs args)
|
boolean |
LuaValue.testfor_b(LuaValue limit)
Deprecated. - used in samples only |
boolean |
LuaValue.testfor_b(LuaValue limit,
boolean stepgtzero)
Deprecated. - used during development only |
boolean |
LuaValue.testfor_b(LuaValue limit,
LuaValue step)
used in for loop only |
static LuaUserdata |
LuaValue.userdataOf(java.lang.Object o,
LuaValue metatable)
|
static Varargs |
LuaValue.varargsOf(LuaValue[] v)
|
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
int offset,
int length)
|
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
int offset,
int length,
Varargs more)
|
static Varargs |
LuaValue.varargsOf(LuaValue[] v,
Varargs r)
|
static Varargs |
LuaValue.varargsOf(LuaValue v1,
LuaValue v2,
Varargs v3)
|
static Varargs |
LuaValue.varargsOf(LuaValue v,
Varargs r)
|
| Constructors in org.luaj.vm2 with parameters of type LuaValue | |
|---|---|
LuaClosure(int nupvalues,
LuaValue env)
|
|
LuaClosure(Prototype p,
LuaValue env)
Supply the initial environment |
|
LuaFunction(LuaValue env)
|
|
LuaTable(LuaValue[] named,
LuaValue[] unnamed,
Varargs lastarg)
|
|
LuaTable(LuaValue[] named,
LuaValue[] unnamed,
Varargs lastarg)
|
|
LuaThread(LuaValue func,
LuaValue env)
|
|
LuaUserdata(java.lang.Object obj,
LuaValue metatable)
|
|
TailcallVarargs(LuaValue f,
Varargs args)
|
|
UpValue(LuaValue[] stack,
int index)
|
|
| Uses of LuaValue in org.luaj.vm2.compiler |
|---|
| Methods in org.luaj.vm2.compiler with parameters of type LuaValue | |
|---|---|
static LuaFunction |
LuaC.load(java.io.InputStream is,
java.lang.String name,
LuaValue env)
Load into a Closure or LuaFunction, with the supplied initial environment |
LuaFunction |
LuaC.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 |
LuaC.load(Prototype p,
java.lang.String filename,
LuaValue env)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||