Uses of Class
org.luaj.vm2.LuaValue

Packages that use LuaValue
org.luaj.vm2   
org.luaj.vm2.compiler   
org.luaj.vm2.lib   
org.luaj.vm2.lib.jme   
org.luaj.vm2.lib.jse   
org.luaj.vm2.luajc   
 

Uses of LuaValue in org.luaj.vm2
 

Subclasses of LuaValue in org.luaj.vm2
 class LuaBoolean
          Extension of LuaValue which can hold a Java boolean as its value.
 class LuaClosure
          Extension of LuaFunction which executes lua bytecode.
 class LuaDouble
          Extension of LuaNumber which can hold a Java double as its value.
 class LuaFunction
          Base class for functions implemented in Java.
 class LuaInteger
          Extension of LuaNumber which can hold a Java int as its value.
 class LuaNil
          Class to encapsulate behavior of the singleton instance nil
 class LuaNumber
          Base class for representing numbers as lua values directly.
 class LuaString
          Subclass of LuaValue for representing lua strings.
 class LuaTable
          Subclass of LuaValue for representing lua tables.
 class LuaThread
          Subclass of LuaValue that implements a lua coroutine thread using Java Threads.
 class LuaUserdata
           
 class WeakTable
          Subclass of LuaTable that provides weak key and weak value semantics.
 

Fields in org.luaj.vm2 declared as LuaValue
protected  LuaValue[] LuaTable.array
          the array values
protected  LuaValue LuaFunction.env
           
 LuaValue LuaThread.err
          Field to hold state of error condition during debug hook function calls.
protected  LuaValue[] LuaTable.hashKeys
          the hash keys
protected  LuaValue[] LuaTable.hashValues
          the hash values
 LuaValue[] Prototype.k
           
protected  LuaValue LuaTable.m_metatable
          metatable for this table, or null
 LuaValue LuaUserdata.m_metatable
           
static LuaValue LuaValue.NIL
          LuaValue constant corresponding to lua nil
static LuaValue[] LuaValue.NILS
          Array of NIL values to optimize filling stacks using System.arraycopy().
static LuaValue LuaValue.NONE
          LuaValue constant corresponding to a Varargs list of no values
static LuaValue[] LuaValue.NOVALS
          LuaValue array constant with no values
static LuaValue LuaBoolean.s_metatable
          Shared static metatable for boolean values represented in lua.
static LuaValue LuaFunction.s_metatable
          Shared static metatable for all functions and closures.
static LuaValue LuaNil.s_metatable
           
static LuaValue LuaNumber.s_metatable
          Shared static metatable for all number values represented in lua.
static LuaValue LuaString.s_metatable
          The singleton instance representing lua true
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 rhs)
           
 LuaValue LuaValue.add(double rhs)
          Add: Perform numeric add operation with another value of double type with metatag processing
 LuaValue LuaInteger.add(int lhs)
           
 LuaValue LuaString.add(int rhs)
           
 LuaValue LuaValue.add(int rhs)
          Add: Perform numeric add operation with another value of int type with metatag processing
 LuaValue LuaDouble.add(LuaValue rhs)
           
 LuaValue LuaInteger.add(LuaValue rhs)
           
 LuaValue LuaString.add(LuaValue rhs)
           
 LuaValue LuaValue.add(LuaValue rhs)
          Add: Perform numeric add operation with another value including metatag processing.
 LuaValue LuaValue.and(LuaValue rhs)
          Perform boolean and with another operand, based on lua rules for boolean evaluation.
 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 in the list.
static LuaValue LuaValue.argerror(int iarg, java.lang.String msg)
          Throw a LuaError indicating an invalid argument was supplied to a function
protected  LuaValue LuaValue.argerror(java.lang.String expected)
          Throw a LuaError indicating an invalid argument was supplied to a function
protected  LuaValue LuaValue.aritherror()
          Throw a LuaError based on an arithmetic error such as add, or pow, typically due to an invalid operand type
protected  LuaValue LuaValue.aritherror(java.lang.String fun)
          Throw a LuaError based on an arithmetic error such as add, or pow, typically due to an invalid operand type
protected  LuaValue LuaValue.arithmt(LuaValue tag, LuaValue op2)
          Perform metatag processing for arithmetic operations.
protected  LuaValue LuaValue.arithmtwith(LuaValue tag, double op1)
          Perform metatag processing for arithmetic operations when the left-hand-side is a number.
 LuaValue LuaClosure.call()
           
 LuaValue LuaValue.call()
          Call this with 0 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaClosure.call(LuaValue arg)
           
 LuaValue LuaValue.call(LuaValue arg)
          Call this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaClosure.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue LuaValue.call(LuaValue arg1, LuaValue arg2)
          Call this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaClosure.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue LuaValue.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
          Call this with 3 arguments, including metatag processing, and return only the first return value.
protected  LuaValue LuaValue.callmt()
          Get the metatag value for the CALL metatag, if it exists.
 LuaValue LuaFunction.checkfunction()
           
 LuaValue LuaValue.checkfunction()
          Check that the value is a function , or throw LuaError if not
 LuaValue Varargs.checkfunction(int i)
          Return argument i as a function, or throw an error if an incompatible type.
protected  LuaValue LuaValue.checkmetatag(LuaValue tag, java.lang.String reason)
          Get particular metatag, or throw LuaError if it doesn't exist
 LuaValue LuaNil.checknotnil()
           
 LuaValue LuaValue.checknotnil()
          Check that this is not the value NIL, or throw LuaError if it is
 LuaValue Varargs.checknotnil(int i)
          Return argument i as a LuaValue if it is not nil, or throw an error if it is nil.
 LuaValue LuaDouble.checkvalidkey()
           
 LuaValue LuaNil.checkvalidkey()
           
 LuaValue LuaValue.checkvalidkey()
          Check that this is a valid key in a table index operation, or throw LuaError if not
 LuaValue Varargs.checkvalue(int i)
          Return argument i as a LuaValue if it exists, or throw an error.
protected  LuaValue LuaValue.compareerror(LuaValue rhs)
          Throw a LuaError based on a comparison error such as greater-than or less-than, typically due to an invalid operand type
protected  LuaValue LuaValue.compareerror(java.lang.String rhs)
          Throw a LuaError based on a comparison error such as greater-than or less-than, typically due to an invalid operand type
 LuaValue LuaValue.comparemt(LuaValue tag, LuaValue op1)
          Perform metatag processing for comparison operations.
 LuaValue LuaTable.concat(LuaString sep, int i, int j)
          Concatenate the contents of a table efficiently, using Buffer
 LuaValue LuaNumber.concat(LuaValue rhs)
           
 LuaValue LuaString.concat(LuaValue rhs)
           
 LuaValue LuaValue.concat(LuaValue rhs)
          Concatenate another value onto this value and return the result using rules of lua string concatenation including metatag processing.
 LuaValue LuaValue.concatmt(LuaValue rhs)
          Perform metatag processing for concatenation operations.
 LuaValue LuaNumber.concatTo(LuaNumber lhs)
           
 LuaValue LuaString.concatTo(LuaNumber lhs)
           
 LuaValue LuaValue.concatTo(LuaNumber lhs)
          Reverse-concatenation: concatenate this value onto another value known to be a LuaNumber and return the result using rules of lua string concatenation including metatag processing.
 LuaValue LuaNumber.concatTo(LuaString lhs)
           
 LuaValue LuaString.concatTo(LuaString lhs)
           
 LuaValue LuaValue.concatTo(LuaString lhs)
          Reverse-concatenation: concatenate this value onto another value known to be a LuaString and return the result using rules of lua string concatenation including metatag processing.
 LuaValue LuaValue.concatTo(LuaValue lhs)
          Reverse-concatenation: concatenate this value onto another value whose type is unknwon and return the result using rules of lua string concatenation including metatag processing.
static LuaValue LuaDouble.ddiv(double lhs, double rhs)
          Divide two double numbers according to lua math, and return a LuaValue result.
 LuaValue LuaDouble.div(double rhs)
           
 LuaValue LuaInteger.div(double rhs)
           
 LuaValue LuaString.div(double rhs)
           
 LuaValue LuaValue.div(double rhs)
          Divide: Perform numeric divide operation by another value of double type without metatag processing
 LuaValue LuaDouble.div(int rhs)
           
 LuaValue LuaInteger.div(int rhs)
           
 LuaValue LuaString.div(int rhs)
           
 LuaValue LuaValue.div(int rhs)
          Divide: Perform numeric divide operation by another value of int type without metatag processing
 LuaValue LuaDouble.div(LuaValue rhs)
           
 LuaValue LuaInteger.div(LuaValue rhs)
           
 LuaValue LuaString.div(LuaValue rhs)
           
 LuaValue LuaValue.div(LuaValue rhs)
          Divide: Perform numeric divide operation by another value of unknown type, including metatag processing.
 LuaValue LuaDouble.divInto(double lhs)
           
 LuaValue LuaInteger.divInto(double lhs)
           
 LuaValue LuaString.divInto(double lhs)
           
 LuaValue LuaValue.divInto(double lhs)
          Reverse-divide: Perform numeric divide operation into another value with metatag processing
static LuaValue LuaDouble.dmod(double lhs, double rhs)
          Take modulo double numbers according to lua math, and return a LuaValue result.
 LuaValue LuaDouble.eq(LuaValue val)
           
 LuaValue LuaInteger.eq(LuaValue val)
           
 LuaValue LuaString.eq(LuaValue val)
           
 LuaValue LuaTable.eq(LuaValue val)
           
 LuaValue LuaUserdata.eq(LuaValue val)
           
 LuaValue LuaValue.eq(LuaValue val)
          Equals: Perform equality comparison with another value including metatag processing using EQ.
static LuaValue LuaValue.error(java.lang.String message)
          Throw a LuaError with a particular 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)
          Get a value in a table including metatag processing using INDEX.
 LuaValue LuaString.get(LuaValue key)
           
 LuaValue LuaTable.get(LuaValue key)
           
 LuaValue LuaUserdata.get(LuaValue key)
           
 LuaValue LuaValue.get(LuaValue key)
          Get a value in a table including metatag processing using INDEX.
 LuaValue LuaValue.get(java.lang.String key)
          Get a value in a table including metatag processing using INDEX.
 LuaValue LuaFunction.getfenv()
           
 LuaValue LuaThread.getfenv()
           
 LuaValue LuaValue.getfenv()
          Get the environemnt for an instance.
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()
          Get the metatable for this LuaValue
 LuaValue LuaTable.getn()
           
 LuaValue LuaValue.getn()
          Implementation of lua 5.0 getn() function.
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()
          Get the value of the upvalue
 LuaValue LuaDouble.gt(double rhs)
           
 LuaValue LuaInteger.gt(double rhs)
           
 LuaValue LuaValue.gt(double rhs)
          Greater than: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.gt(int rhs)
           
 LuaValue LuaInteger.gt(int rhs)
           
 LuaValue LuaValue.gt(int rhs)
          Greater than: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.gt(LuaValue rhs)
           
 LuaValue LuaInteger.gt(LuaValue rhs)
           
 LuaValue LuaString.gt(LuaValue rhs)
           
 LuaValue LuaValue.gt(LuaValue rhs)
          Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.gteq(double rhs)
           
 LuaValue LuaInteger.gteq(double rhs)
           
 LuaValue LuaValue.gteq(double rhs)
          Greater than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.gteq(int rhs)
           
 LuaValue LuaInteger.gteq(int rhs)
           
 LuaValue LuaValue.gteq(int rhs)
          Greater than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.gteq(LuaValue rhs)
           
 LuaValue LuaInteger.gteq(LuaValue rhs)
           
 LuaValue LuaString.gteq(LuaValue rhs)
           
 LuaValue LuaValue.gteq(LuaValue rhs)
          Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
protected  LuaValue LuaTable.hashget(LuaValue key)
           
protected  LuaValue WeakTable.hashget(LuaValue key)
          Get the hash value for a key key the key to look up
protected  LuaValue LuaValue.illegal(java.lang.String op, java.lang.String typename)
          Throw a LuaError indicating an illegal operation occurred, typically involved in managing weak references
 LuaValue[] LuaTable.keys()
          This may be deprecated in a future release.
 LuaValue LuaString.len()
           
 LuaValue LuaTable.len()
           
 LuaValue LuaValue.len()
          Length operator: return lua length of object (#this) including metatag processing as java int
protected  LuaValue LuaValue.lenerror()
          Throw a LuaError based on the len operator, typically due to an invalid operand type
 LuaValue LuaValue.load(LuaValue library)
          Load a library instance by setting its environment to this and calling it, which should iniitalize the library instance and install itself into this instance.
static LuaValue LoadState.longBitsToLuaNumber(long bits)
          Convert bits in a long value to a LuaValue.
 LuaValue LuaDouble.lt(double rhs)
           
 LuaValue LuaInteger.lt(double rhs)
           
 LuaValue LuaValue.lt(double rhs)
          Less than: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.lt(int rhs)
           
 LuaValue LuaInteger.lt(int rhs)
           
 LuaValue LuaValue.lt(int rhs)
          Less than: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.lt(LuaValue rhs)
           
 LuaValue LuaInteger.lt(LuaValue rhs)
           
 LuaValue LuaString.lt(LuaValue rhs)
           
 LuaValue LuaValue.lt(LuaValue rhs)
          Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.lteq(double rhs)
           
 LuaValue LuaInteger.lteq(double rhs)
           
 LuaValue LuaValue.lteq(double rhs)
          Less than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.lteq(int rhs)
           
 LuaValue LuaInteger.lteq(int rhs)
           
 LuaValue LuaValue.lteq(int rhs)
          Less than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
 LuaValue LuaDouble.lteq(LuaValue rhs)
           
 LuaValue LuaInteger.lteq(LuaValue rhs)
           
 LuaValue LuaString.lteq(LuaValue rhs)
           
 LuaValue LuaValue.lteq(LuaValue rhs)
          Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 LuaValue LuaValue.metatag(LuaValue tag)
          Get particular metatag, or return NIL if it doesn't exist
 LuaValue LuaValue.method(LuaValue name)
          Call named method on this with 0 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(LuaValue name, LuaValue arg)
          Call named method on this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(LuaValue name, LuaValue arg1, LuaValue arg2)
          Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(java.lang.String name)
          Call named method on this with 0 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(java.lang.String name, LuaValue arg)
          Call named method on this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(java.lang.String name, LuaValue arg1, LuaValue arg2)
          Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaDouble.mod(double rhs)
           
 LuaValue LuaInteger.mod(double rhs)
           
 LuaValue LuaString.mod(double rhs)
           
 LuaValue LuaValue.mod(double rhs)
          Modulo: Perform numeric modulo operation with another value of double type without metatag processing
 LuaValue LuaDouble.mod(int rhs)
           
 LuaValue LuaInteger.mod(int rhs)
           
 LuaValue LuaString.mod(int rhs)
           
 LuaValue LuaValue.mod(int rhs)
          Modulo: Perform numeric modulo operation with another value of int type without metatag processing
 LuaValue LuaDouble.mod(LuaValue rhs)
           
 LuaValue LuaInteger.mod(LuaValue rhs)
           
 LuaValue LuaString.mod(LuaValue rhs)
           
 LuaValue LuaValue.mod(LuaValue rhs)
          Modulo: Perform numeric modulo operation with another value of unknown type, including metatag processing.
 LuaValue LuaDouble.modFrom(double lhs)
           
 LuaValue LuaInteger.modFrom(double lhs)
           
 LuaValue LuaString.modFrom(double lhs)
           
 LuaValue LuaValue.modFrom(double lhs)
          Reverse-modulo: Perform numeric modulo operation from another value with metatag processing
 LuaValue LuaDouble.mul(double lhs)
           
 LuaValue LuaInteger.mul(double lhs)
           
 LuaValue LuaString.mul(double rhs)
           
 LuaValue LuaValue.mul(double rhs)
          Multiply: Perform numeric multiply operation with another value of double type with metatag processing
 LuaValue LuaDouble.mul(int lhs)
           
 LuaValue LuaInteger.mul(int lhs)
           
 LuaValue LuaString.mul(int rhs)
           
 LuaValue LuaValue.mul(int rhs)
          Multiply: Perform numeric multiply operation with another value of int type with metatag processing
 LuaValue LuaDouble.mul(LuaValue rhs)
           
 LuaValue LuaInteger.mul(LuaValue rhs)
           
 LuaValue LuaString.mul(LuaValue rhs)
           
 LuaValue LuaValue.mul(LuaValue rhs)
          Multiply: Perform numeric multiply operation with another value of unknown type, including metatag processing.
 LuaValue LuaDouble.neg()
           
 LuaValue LuaInteger.neg()
           
 LuaValue LuaString.neg()
           
 LuaValue LuaValue.neg()
          Unary minus: return negative value (-this) as defined by lua unary minus operator
 LuaValue LuaValue.neq(LuaValue val)
          Notquals: Perform inequality comparison with another value including metatag processing using EQ.
 LuaValue LuaBoolean.not()
           
 LuaValue LuaNil.not()
           
 LuaValue LuaValue.not()
          Unary not: return inverse boolean value (~this) as defined by lua not operator
 LuaValue Varargs.optvalue(int i, LuaValue defval)
          Return argument i as a LuaValue if it exists, or defval.
 LuaValue LuaNil.optvalue(LuaValue defval)
           
 LuaValue LuaValue.optvalue(LuaValue defval)
          Perform argument check that this is not nil or none.
 LuaValue LuaValue.or(LuaValue rhs)
          Perform boolean or with another operand, based on lua rules for boolean evaluation.
 LuaValue LuaDouble.pow(double rhs)
           
 LuaValue LuaInteger.pow(double rhs)
           
 LuaValue LuaString.pow(double rhs)
           
 LuaValue LuaValue.pow(double rhs)
          Raise to power: Raise this value to a power of double type with metatag processing
 LuaValue LuaDouble.pow(int rhs)
           
 LuaValue LuaInteger.pow(int rhs)
           
 LuaValue LuaString.pow(int rhs)
           
 LuaValue LuaValue.pow(int rhs)
          Raise to power: Raise this value to a power of int type with metatag processing
 LuaValue LuaDouble.pow(LuaValue rhs)
           
 LuaValue LuaInteger.pow(LuaValue rhs)
           
 LuaValue LuaString.pow(LuaValue rhs)
           
 LuaValue LuaValue.pow(LuaValue rhs)
          Raise to power: Raise this value to a power including metatag processing.
 LuaValue LuaDouble.powWith(double lhs)
           
 LuaValue LuaInteger.powWith(double lhs)
           
 LuaValue LuaString.powWith(double lhs)
           
 LuaValue LuaValue.powWith(double lhs)
          Reverse-raise to power: Raise another value of double type to this power with metatag processing
 LuaValue LuaDouble.powWith(int lhs)
           
 LuaValue LuaInteger.powWith(int lhs)
           
 LuaValue LuaString.powWith(int lhs)
           
 LuaValue LuaValue.powWith(int lhs)
          Reverse-raise to power: Raise another value of double type to this power with metatag processing
 LuaValue LuaTable.rawget(int key)
           
 LuaValue LuaValue.rawget(int key)
          Get a value in a table without metatag processing.
 LuaValue WeakTable.rawget(int key)
           
 LuaValue LuaTable.rawget(LuaValue key)
           
 LuaValue LuaValue.rawget(LuaValue key)
          Get a value in a table without metatag processing.
 LuaValue WeakTable.rawget(LuaValue key)
           
 LuaValue LuaValue.rawget(java.lang.String key)
          Get a value in a table without metatag processing.
 LuaValue LuaTable.remove(int pos)
          Remove the element at a position in a list-table
static LuaValue LuaThread.setErrorFunc(LuaValue errfunc)
          Replace the error function of the currently running thread.
 LuaValue LuaTable.setmetatable(LuaValue metatable)
           
 LuaValue LuaUserdata.setmetatable(LuaValue metatable)
           
 LuaValue LuaValue.setmetatable(LuaValue metatable)
          Set the metatable for this LuaValue
 LuaValue LuaValue.strongkey()
          Return the key part of this value if it is a weak table entry, or NIL if it was weak and is no longer referenced.
 LuaValue LuaValue.strongvalue()
          Return this value as a strong reference, or NIL if it was weak and is no longer referenced.
 LuaValue LuaDouble.sub(double rhs)
           
 LuaValue LuaInteger.sub(double rhs)
           
 LuaValue LuaString.sub(double rhs)
           
 LuaValue LuaValue.sub(double rhs)
          Subtract: Perform numeric subtract operation with another value of double type with metatag processing
 LuaValue LuaDouble.sub(int rhs)
           
 LuaValue LuaInteger.sub(int rhs)
           
 LuaValue LuaString.sub(int rhs)
           
 LuaValue LuaValue.sub(int rhs)
          Subtract: Perform numeric subtract operation with another value of int type with metatag processing
 LuaValue LuaDouble.sub(LuaValue rhs)
           
 LuaValue LuaInteger.sub(LuaValue rhs)
           
 LuaValue LuaString.sub(LuaValue rhs)
           
 LuaValue LuaValue.sub(LuaValue rhs)
          Subtract: Perform numeric subtract operation with another value of unknown type, including metatag processing.
 LuaValue LuaDouble.subFrom(double lhs)
           
 LuaValue LuaInteger.subFrom(double lhs)
           
 LuaValue LuaString.subFrom(double lhs)
           
 LuaValue LuaValue.subFrom(double lhs)
          Reverse-subtract: Perform numeric subtract operation from an int value with metatag processing
 LuaValue LuaInteger.subFrom(int lhs)
           
 LuaValue LuaValue.subFrom(int lhs)
          Reverse-subtract: Perform numeric subtract operation from a double value without metatag processing
 LuaValue LuaDouble.tonumber()
           
 LuaValue LuaNumber.tonumber()
           
 LuaValue LuaString.tonumber()
           
 LuaValue LuaValue.tonumber()
          Conditionally convert to lua number without throwing errors.
 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()
          Conditionally convert to lua string without throwing errors.
protected  LuaValue LuaValue.typerror(java.lang.String expected)
          Throw a LuaError indicating an invalid type was supplied to a function
protected  LuaValue LuaValue.unimplemented(java.lang.String fun)
          Throw a LuaError indicating an operation is not implemented
 LuaValue Buffer.value()
          Get buffer contents as a LuaValue
 

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)
          Add: Perform numeric add operation with another value including metatag processing.
 LuaValue LuaValue.and(LuaValue rhs)
          Perform boolean and with another operand, based on lua rules for boolean evaluation.
 Buffer Buffer.append(LuaValue val)
          Append a LuaValue to the buffer.
protected  LuaValue LuaValue.arithmt(LuaValue tag, LuaValue op2)
          Perform metatag processing for arithmetic operations.
protected  LuaValue LuaValue.arithmtwith(LuaValue tag, double op1)
          Perform metatag processing for arithmetic operations when the left-hand-side is a number.
 LuaValue LuaClosure.call(LuaValue arg)
           
 LuaValue LuaValue.call(LuaValue arg)
          Call this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaClosure.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue LuaValue.call(LuaValue arg1, LuaValue arg2)
          Call this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaClosure.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue LuaValue.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
          Call this with 3 arguments, including metatag processing, and return only the first return value.
protected  LuaValue LuaValue.checkmetatag(LuaValue tag, java.lang.String reason)
          Get particular metatag, or throw LuaError if it doesn't exist
protected  LuaValue LuaValue.compareerror(LuaValue rhs)
          Throw a LuaError based on a comparison error such as greater-than or less-than, typically due to an invalid operand type
 LuaValue LuaValue.comparemt(LuaValue tag, LuaValue op1)
          Perform metatag processing for comparison operations.
 LuaValue LuaNumber.concat(LuaValue rhs)
           
 LuaValue LuaString.concat(LuaValue rhs)
           
 LuaValue LuaValue.concat(LuaValue rhs)
          Concatenate another value onto this value and return the result using rules of lua string concatenation including metatag processing.
 LuaValue LuaValue.concatmt(LuaValue rhs)
          Perform metatag processing for concatenation operations.
 Buffer Buffer.concatTo(LuaValue lhs)
          Concatenate this buffer onto a LuaValue
 LuaValue LuaValue.concatTo(LuaValue lhs)
          Reverse-concatenation: concatenate this value onto another value whose type is unknwon and return the result using rules of lua string concatenation including metatag processing.
 LuaValue LuaDouble.div(LuaValue rhs)
           
 LuaValue LuaInteger.div(LuaValue rhs)
           
 LuaValue LuaString.div(LuaValue rhs)
           
 LuaValue LuaValue.div(LuaValue rhs)
          Divide: Perform numeric divide operation by another value of unknown type, including metatag processing.
 boolean LuaDouble.eq_b(LuaValue val)
           
 boolean LuaInteger.eq_b(LuaValue val)
           
 boolean LuaString.eq_b(LuaValue val)
           
 boolean LuaTable.eq_b(LuaValue val)
           
 boolean LuaUserdata.eq_b(LuaValue val)
           
 boolean LuaValue.eq_b(LuaValue val)
          Equals: Perform equality comparison with another value including metatag processing using EQ, and return java boolean
 LuaValue LuaDouble.eq(LuaValue val)
           
 LuaValue LuaInteger.eq(LuaValue val)
           
 LuaValue LuaString.eq(LuaValue val)
           
 LuaValue LuaTable.eq(LuaValue val)
           
 LuaValue LuaUserdata.eq(LuaValue val)
           
 LuaValue LuaValue.eq(LuaValue val)
          Equals: Perform equality comparison with another value including metatag processing using EQ.
 boolean LuaUserdata.eqmt(LuaValue val)
           
static boolean LuaValue.eqmtcall(LuaValue lhs, LuaValue lhsmt, LuaValue rhs, LuaValue rhsmt)
          Perform equality testing metatag processing
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)
          Get a value in a table including metatag processing using INDEX.
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)
          Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
 LuaValue LuaDouble.gt(LuaValue rhs)
           
 LuaValue LuaInteger.gt(LuaValue rhs)
           
 LuaValue LuaString.gt(LuaValue rhs)
           
 LuaValue LuaValue.gt(LuaValue rhs)
          Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 boolean LuaDouble.gteq_b(LuaValue rhs)
           
 boolean LuaInteger.gteq_b(LuaValue rhs)
           
 boolean LuaString.gteq_b(LuaValue rhs)
           
 boolean LuaValue.gteq_b(LuaValue rhs)
          Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
 LuaValue LuaDouble.gteq(LuaValue rhs)
           
 LuaValue LuaInteger.gteq(LuaValue rhs)
           
 LuaValue LuaString.gteq(LuaValue rhs)
           
 LuaValue LuaValue.gteq(LuaValue rhs)
          Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 int LuaTable.hashFindSlot(LuaValue key)
          Find the hashtable slot to use
 int WeakTable.hashFindSlot(LuaValue key)
           
protected  LuaValue LuaTable.hashget(LuaValue key)
           
protected  LuaValue WeakTable.hashget(LuaValue key)
          Get the hash value for a key key the key to look up
 void LuaTable.hashset(LuaValue key, LuaValue value)
          Set a hashtable 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)
          Find the next integer-key,value pair if this is a table, return NIL if there are no more, or throw a LuaError if not a table.
 void LuaTable.insert(int pos, LuaValue value)
          Insert an element at a position in a list-table
 Varargs LuaValue.invoke(LuaValue[] args)
          Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invoke(LuaValue[] args, Varargs varargs)
          Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invoke(LuaValue arg1, LuaValue arg2, Varargs varargs)
          Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invoke(LuaValue arg, Varargs varargs)
          Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invokemethod(LuaValue name)
          Call named method on this with 0 arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invokemethod(LuaValue name, LuaValue[] args)
          Call named method on this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invokemethod(LuaValue name, LuaValue[] args)
          Call named method on this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invokemethod(LuaValue name, Varargs args)
          Call named method on this with variable arguments, including metatag processing, and retain all return values in a Varargs.
 Varargs LuaValue.invokemethod(java.lang.String name, LuaValue[] args)
          Call named method on this with 1 argument, including metatag processing, and retain all return values in a Varargs.
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 LuaFunction LoadState.load(java.io.InputStream stream, java.lang.String name, LuaValue env)
          Load lua in either binary or text form from an input stream.
 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
 LuaValue LuaValue.load(LuaValue library)
          Load a library instance by setting its environment to this and calling it, which should iniitalize the library instance and install itself into this instance.
 boolean LuaDouble.lt_b(LuaValue rhs)
           
 boolean LuaInteger.lt_b(LuaValue rhs)
           
 boolean LuaString.lt_b(LuaValue rhs)
           
 boolean LuaValue.lt_b(LuaValue rhs)
          Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
 LuaValue LuaDouble.lt(LuaValue rhs)
           
 LuaValue LuaInteger.lt(LuaValue rhs)
           
 LuaValue LuaString.lt(LuaValue rhs)
           
 LuaValue LuaValue.lt(LuaValue rhs)
          Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 boolean LuaDouble.lteq_b(LuaValue rhs)
           
 boolean LuaInteger.lteq_b(LuaValue rhs)
           
 boolean LuaString.lteq_b(LuaValue rhs)
           
 boolean LuaValue.lteq_b(LuaValue rhs)
          Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
 LuaValue LuaDouble.lteq(LuaValue rhs)
           
 LuaValue LuaInteger.lteq(LuaValue rhs)
           
 LuaValue LuaString.lteq(LuaValue rhs)
           
 LuaValue LuaValue.lteq(LuaValue rhs)
          Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
 LuaValue LuaValue.metatag(LuaValue tag)
          Get particular metatag, or return NIL if it doesn't exist
 LuaValue LuaValue.method(LuaValue name)
          Call named method on this with 0 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(LuaValue name, LuaValue arg)
          Call named method on this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(LuaValue name, LuaValue arg1, LuaValue arg2)
          Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(java.lang.String name, LuaValue arg)
          Call named method on this with 1 argument, including metatag processing, and return only the first return value.
 LuaValue LuaValue.method(java.lang.String name, LuaValue arg1, LuaValue arg2)
          Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
 LuaValue LuaDouble.mod(LuaValue rhs)
           
 LuaValue LuaInteger.mod(LuaValue rhs)
           
 LuaValue LuaString.mod(LuaValue rhs)
           
 LuaValue LuaValue.mod(LuaValue rhs)
          Modulo: Perform numeric modulo operation with another value of unknown type, including metatag processing.
 LuaValue LuaDouble.mul(LuaValue rhs)
           
 LuaValue LuaInteger.mul(LuaValue rhs)
           
 LuaValue LuaString.mul(LuaValue rhs)
           
 LuaValue LuaValue.mul(LuaValue rhs)
          Multiply: Perform numeric multiply operation with another value of unknown type, including metatag processing.
 boolean LuaValue.neq_b(LuaValue val)
          Notquals: Perform inequality comparison with another value including metatag processing using EQ.
 LuaValue LuaValue.neq(LuaValue val)
          Notquals: Perform inequality comparison with another value including metatag processing using EQ.
 Varargs LuaTable.next(LuaValue key)
          Get the next element after a particular key in the table
 Varargs LuaValue.next(LuaValue index)
          Find the next key,value pair if this is a table, return NIL if there are no more, or throw a LuaError if not a table.
 Varargs WeakTable.next(LuaValue key)
          Get the next element after a particular key in the table
 LuaValue Varargs.optvalue(int i, LuaValue defval)
          Return argument i as a LuaValue if it exists, or defval.
 LuaValue LuaNil.optvalue(LuaValue defval)
           
 LuaValue LuaValue.optvalue(LuaValue defval)
          Perform argument check that this is not nil or none.
 LuaValue LuaValue.or(LuaValue rhs)
          Perform boolean or with another operand, based on lua rules for boolean evaluation.
 LuaValue LuaDouble.pow(LuaValue rhs)
           
 LuaValue LuaInteger.pow(LuaValue rhs)
           
 LuaValue LuaString.pow(LuaValue rhs)
           
 LuaValue LuaValue.pow(LuaValue rhs)
          Raise to power: Raise this value to a power including metatag processing.
static void Print.printState(LuaClosure cl, int pc, LuaValue[] stack, int top, Varargs varargs)
          Print the state of a LuaClosure that is being executed
 boolean LuaDouble.raweq(LuaValue val)
           
 boolean LuaInteger.raweq(LuaValue val)
           
 boolean LuaString.raweq(LuaValue val)
           
 boolean LuaUserdata.raweq(LuaValue val)
           
 boolean LuaValue.raweq(LuaValue val)
          Equals: Perform direct equality comparison with another value without metatag processing.
 LuaValue LuaTable.rawget(LuaValue key)
           
 LuaValue LuaValue.rawget(LuaValue key)
          Get a value in a table without metatag processing.
 LuaValue WeakTable.rawget(LuaValue key)
           
 void LuaTable.rawset(int key, LuaValue value)
           
 void LuaValue.rawset(int key, LuaValue value)
          Set a value in a table without metatag processing.
 void WeakTable.rawset(int key, LuaValue value)
           
 void LuaTable.rawset(LuaValue key, LuaValue value)
          caller must ensure key is not nil
 void LuaValue.rawset(LuaValue key, LuaValue value)
          Set a value in a table without metatag processing.
 void WeakTable.rawset(LuaValue key, LuaValue value)
           
 void LuaValue.rawset(java.lang.String key, LuaValue value)
          Set a value in a table without metatag processing.
 void LuaTable.set(int key, LuaValue value)
           
 void LuaValue.set(int key, LuaValue value)
          Set a value in a table without metatag processing using NEWINDEX.
 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)
          Set a value in a table without metatag processing using NEWINDEX.
 void LuaValue.set(java.lang.String key, LuaValue value)
          Set a value in a table without metatag processing using NEWINDEX.
static LuaValue LuaThread.setErrorFunc(LuaValue errfunc)
          Replace the error function of the currently running thread.
 void LuaFunction.setfenv(LuaValue env)
           
 void LuaThread.setfenv(LuaValue env)
           
 void LuaValue.setfenv(LuaValue env)
          Set the environment on an object.
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)
          Set the metatable for this LuaValue
protected static boolean LuaValue.settable(LuaValue t, LuaValue key, LuaValue value)
          Perform field assignment including metatag processing.
protected  void LuaClosure.setUpvalue(int i, LuaValue v)
           
 Buffer Buffer.setvalue(LuaValue value)
          Set buffer contents as a LuaValue
 void UpValue.setValue(LuaValue value)
          Set the value of the upvalue
 void LuaTable.sort(LuaValue comparator)
          Sort the table using a comparator.
 void WeakTable.sort(LuaValue comparator)
           
 int LuaString.strcmp(LuaValue lhs)
           
 int LuaValue.strcmp(LuaValue rhs)
          Perform string comparison with another value of any type using string comparison based on byte values.
 LuaValue LuaDouble.sub(LuaValue rhs)
           
 LuaValue LuaInteger.sub(LuaValue rhs)
           
 LuaValue LuaString.sub(LuaValue rhs)
           
 LuaValue LuaValue.sub(LuaValue rhs)
          Subtract: Perform numeric subtract operation with another value of unknown type, including metatag processing.
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)
          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(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 Varargs LuaValue.tailcallOf(LuaValue func, Varargs args)
          Construct a TailcallVarargs around a function and arguments.
 boolean LuaValue.testfor_b(LuaValue limit, LuaValue step)
          Perform end-condition test in for-loop processing.
static LuaUserdata LuaValue.userdataOf(java.lang.Object o, LuaValue metatable)
          Construct a LuaUserdata for an object with a user supplied metatable.
static Varargs LuaValue.varargsOf(LuaValue[] v)
          Construct a Varargs around an array of LuaValues.
static Varargs LuaValue.varargsOf(LuaValue[] v, int offset, int length)
          Construct a Varargs around an array of LuaValues.
static Varargs LuaValue.varargsOf(LuaValue[] v, int offset, int length, Varargs more)
          Construct a Varargs around an array of LuaValues.
static Varargs LuaValue.varargsOf(LuaValue[] v, Varargs r)
          Construct a Varargs around an array of LuaValues.
static Varargs LuaValue.varargsOf(LuaValue v1, LuaValue v2, Varargs v3)
          Construct a Varargs around a set of 3 or more LuaValues.
static Varargs LuaValue.varargsOf(LuaValue v, Varargs r)
          Construct a Varargs around a set of 2 or more LuaValues.
 

Constructors in org.luaj.vm2 with parameters of type LuaValue
Buffer(LuaValue value)
          Create buffer with specified initial value
LuaClosure(int nupvalues, LuaValue env)
           
LuaClosure(Prototype p, LuaValue env)
          Supply the initial environment
LuaFunction(LuaValue env)
           
LuaTable(LuaValue[] named, LuaValue[] unnamed, Varargs lastarg)
          Construct table with named and unnamed parts.
LuaTable(LuaValue[] named, LuaValue[] unnamed, Varargs lastarg)
          Construct table with named and unnamed parts.
LuaThread(LuaValue func, LuaValue env)
          Create a LuaThread around a function and environment
LuaUserdata(java.lang.Object obj, LuaValue metatable)
           
TailcallVarargs(LuaValue object, LuaValue methodname, Varargs args)
           
TailcallVarargs(LuaValue f, Varargs args)
           
UpValue(LuaValue[] stack, int index)
          Create an upvalue relative to a stack
 

Uses of LuaValue in org.luaj.vm2.compiler
 

Methods in org.luaj.vm2.compiler with parameters of type LuaValue
 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)
           
 

Uses of LuaValue in org.luaj.vm2.lib
 

Subclasses of LuaValue in org.luaj.vm2.lib
 class BaseLib
          Subclass of LibFunction which implements the lua basic library functions.
 class CoroutineLib
          Subclass of LibFunction which implements the lua standard coroutine library.
 class DebugLib
          Subclass of LibFunction which implements the lua standard debug library.
 class IoLib
          Abstract base class extending LibFunction which implements the core of the lua standard io library.
protected  class IoLib.File
           
 class LibFunction
          Subclass of LuaFunction common to Java functions exposed to lua.
 class MathLib
          Subclass of LibFunction which implements the lua standard math library.
 class OneArgFunction
          Abstract base class for Java function implementations that take one argument and return one value.
 class OsLib
          Subclass of LibFunction which implements the standard lua os library.
 class PackageLib
          Subclass of LibFunction which implements the lua standard package and module library functions.
 class StringLib
          Subclass of LibFunction which implements the lua standard string library.
 class TableLib
          Subclass of LibFunction which implements the lua standard table library.
 class ThreeArgFunction
          Abstract base class for Java function implementations that take two arguments and return one value.
 class TwoArgFunction
          Abstract base class for Java function implementations that take two arguments and return one value.
 class VarArgFunction
          Abstract base class for Java function implementations that takes varaiable arguments and returns multiple return values.
 class ZeroArgFunction
          Abstract base class for Java function implementations that take no arguments and return one value.
 

Fields in org.luaj.vm2.lib declared as LuaValue
 LuaValue PackageLib.java_loader
          Loader that loads as a Java class.
 LuaValue PackageLib.lua_loader
          Loader that loads as a lua script using the LUA_PATH
 LuaValue PackageLib.preload_loader
          Loader that loads from preload table if found there
 

Methods in org.luaj.vm2.lib that return LuaValue
 LuaValue OneArgFunction.call()
           
 LuaValue ThreeArgFunction.call()
           
 LuaValue TwoArgFunction.call()
           
 LuaValue VarArgFunction.call()
           
abstract  LuaValue ZeroArgFunction.call()
           
 LuaValue BaseLib.call(LuaValue arg)
           
 LuaValue IoLib.call(LuaValue arg)
           
 LuaValue MathLib.call(LuaValue arg)
           
abstract  LuaValue OneArgFunction.call(LuaValue arg)
           
 LuaValue PackageLib.call(LuaValue arg)
           
 LuaValue StringLib.call(LuaValue arg)
           
 LuaValue TableLib.call(LuaValue arg)
           
 LuaValue ThreeArgFunction.call(LuaValue arg)
           
 LuaValue TwoArgFunction.call(LuaValue arg)
           
 LuaValue VarArgFunction.call(LuaValue arg)
           
 LuaValue ZeroArgFunction.call(LuaValue arg)
           
 LuaValue OneArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue ThreeArgFunction.call(LuaValue arg1, LuaValue arg2)
           
abstract  LuaValue TwoArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue VarArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue ZeroArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue OneArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
abstract  LuaValue ThreeArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue TwoArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue VarArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue ZeroArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
static LuaValue MathLib.dpow(double a, double b)
          compute power using installed math library, or default if there is no math library installed
static LuaValue IoLib.freadall(IoLib.File f)
           
static LuaValue IoLib.freadbytes(IoLib.File f, int count)
           
static LuaValue IoLib.freadline(IoLib.File f)
           
static LuaValue IoLib.freadnumber(IoLib.File f)
           
static LuaValue IoLib.freaduntil(IoLib.File f, boolean lineonly)
           
 LuaValue IoLib.File.get(LuaValue key)
           
 LuaValue OsLib.init()
           
protected static LuaValue[] LibFunction.newupe()
          Java code generation utility to allocate storage for upvalue, leave it empty
protected static LuaValue[] LibFunction.newupl(LuaValue v)
          Java code generation utility to allocate storage for upvalue, initialize with value
protected static LuaValue[] LibFunction.newupn()
          Java code generation utility to allocate storage for upvalue, initialize with nil
 LuaValue PackageLib.require(LuaValue arg)
          require (modname) Loads the given module.
 

Methods in org.luaj.vm2.lib with parameters of type LuaValue
 Varargs IoLib._file_close(LuaValue file)
           
 Varargs IoLib._file_flush(LuaValue file)
           
 Varargs IoLib._file_lines(LuaValue file)
           
 Varargs IoLib._file_read(LuaValue file, Varargs subargs)
           
 Varargs IoLib._file_seek(LuaValue file, java.lang.String whence, int offset)
           
 Varargs IoLib._file_setvbuf(LuaValue file, java.lang.String mode, int size)
           
 Varargs IoLib._file_write(LuaValue file, Varargs subargs)
           
protected static Varargs DebugLib._getinfo(Varargs args, LuaValue level0func)
           
 Varargs IoLib._io_close(LuaValue file)
           
 Varargs IoLib._io_index(LuaValue v)
           
 Varargs IoLib._io_input(LuaValue file)
           
 Varargs IoLib._io_output(LuaValue filename)
           
 Varargs IoLib._io_type(LuaValue obj)
           
 Varargs IoLib._lines_iter(LuaValue file)
           
protected  void LibFunction.bind(LuaValue env, java.lang.Class factory, java.lang.String[] names)
          Bind a set of library functions.
protected  void LibFunction.bind(LuaValue env, java.lang.Class factory, java.lang.String[] names, int firstopcode)
          Bind a set of library functions, with an offset
 LuaValue BaseLib.call(LuaValue arg)
           
 LuaValue IoLib.call(LuaValue arg)
           
 LuaValue MathLib.call(LuaValue arg)
           
abstract  LuaValue OneArgFunction.call(LuaValue arg)
           
 LuaValue PackageLib.call(LuaValue arg)
           
 LuaValue StringLib.call(LuaValue arg)
           
 LuaValue TableLib.call(LuaValue arg)
           
 LuaValue ThreeArgFunction.call(LuaValue arg)
           
 LuaValue TwoArgFunction.call(LuaValue arg)
           
 LuaValue VarArgFunction.call(LuaValue arg)
           
 LuaValue ZeroArgFunction.call(LuaValue arg)
           
 LuaValue OneArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue ThreeArgFunction.call(LuaValue arg1, LuaValue arg2)
           
abstract  LuaValue TwoArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue VarArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue ZeroArgFunction.call(LuaValue arg1, LuaValue arg2)
           
 LuaValue OneArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
abstract  LuaValue ThreeArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue TwoArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue VarArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
 LuaValue ZeroArgFunction.call(LuaValue arg1, LuaValue arg2, LuaValue arg3)
           
static void DebugLib.debugSetupCall(Varargs args, LuaValue[] stack)
          Called by Closures to set up stack and arguments to next call
 LuaValue IoLib.File.get(LuaValue key)
           
protected static LuaValue[] LibFunction.newupl(LuaValue v)
          Java code generation utility to allocate storage for upvalue, initialize with value
static Varargs BaseLib.pcall(LuaValue func, Varargs args, LuaValue errfunc)
           
 LuaValue PackageLib.require(LuaValue arg)
          require (modname) Loads the given module.
 

Constructors in org.luaj.vm2.lib with parameters of type LuaValue
OneArgFunction(LuaValue env)
          Constructor with specific environment
ThreeArgFunction(LuaValue env)
          Constructor with specific environment
TwoArgFunction(LuaValue env)
          Constructor with specific environment
VarArgFunction(LuaValue env)
           
ZeroArgFunction(LuaValue env)
          Constructor with specific environment
 

Uses of LuaValue in org.luaj.vm2.lib.jme
 

Subclasses of LuaValue in org.luaj.vm2.lib.jme
 class JmeIoLib
          Subclass of IoLib and therefore LibFunction which implements the lua standard io library for the JSE platform.
 

Uses of LuaValue in org.luaj.vm2.lib.jse
 

Subclasses of LuaValue in org.luaj.vm2.lib.jse
 class JseBaseLib
          Subclass of BaseLib and LibFunction which implements the lua basic library functions and provides a directory based ResourceFinder as the BaseLib.FINDER.
 class JseIoLib
          Subclass of IoLib and therefore LibFunction which implements the lua standard io library for the JSE platform.
 class JseMathLib
          Subclass of LibFunction which implements the lua standard math library.
static class JseMathLib.JseMathLib1
           
static class JseMathLib.JseMathLib2
           
 class JseOsLib
          Subclass of LibFunction which implements the standard lua os library.
 class LuajavaLib
          Subclass of LibFunction which implements the features of the luajava package.
 

Methods in org.luaj.vm2.lib.jse that return LuaValue
 LuaValue JseMathLib.call(LuaValue arg)
           
 LuaValue JseMathLib.JseMathLib1.call(LuaValue arg)
           
 LuaValue JseMathLib.JseMathLib2.call(LuaValue arg1, LuaValue arg2)
           
static LuaValue CoerceJavaToLua.coerce(java.lang.Object o)
          Coerse a Java object to a corresponding lua value.
 

Methods in org.luaj.vm2.lib.jse with parameters of type LuaValue
 LuaValue JseMathLib.call(LuaValue arg)
           
 LuaValue JseMathLib.JseMathLib1.call(LuaValue arg)
           
 LuaValue JseMathLib.JseMathLib2.call(LuaValue arg1, LuaValue arg2)
           
static java.lang.Object CoerceLuaToJava.coerce(LuaValue value, java.lang.Class clazz)
          Coerce a LuaValue value to a specified java class
 

Uses of LuaValue in org.luaj.vm2.luajc
 

Methods in org.luaj.vm2.luajc with parameters of type LuaValue
 LuaFunction LuaJC.load(java.io.InputStream stream, java.lang.String name, LuaValue env)
           
 



Copyright © 2007-2008 Luaj.org. All Rights Reserved.