A B C D E F G H I J K L M N O P R S T U V W Y Z _

A

add(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
add(double) - Method in class org.luaj.vm2.LuaDouble
 
add(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
add(double) - Method in class org.luaj.vm2.LuaInteger
 
add(int) - Method in class org.luaj.vm2.LuaInteger
 
add(LuaValue) - Method in class org.luaj.vm2.LuaString
 
add(double) - Method in class org.luaj.vm2.LuaString
 
add(int) - Method in class org.luaj.vm2.LuaString
 
ADD - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__add" for use as metatag
add(LuaValue) - Method in class org.luaj.vm2.LuaValue
Add: Perform numeric add operation with another value including metatag processing.
add(double) - Method in class org.luaj.vm2.LuaValue
Add: Perform numeric add operation with another value of double type with metatag processing
add(int) - Method in class org.luaj.vm2.LuaValue
Add: Perform numeric add operation with another value of int type with metatag processing
and(LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform boolean and with another operand, based on lua rules for boolean evaluation.
append(byte) - Method in class org.luaj.vm2.Buffer
Append a single byte to the buffer.
append(LuaValue) - Method in class org.luaj.vm2.Buffer
Append a LuaValue to the buffer.
append(LuaString) - Method in class org.luaj.vm2.Buffer
Append a LuaString to the buffer.
append(String) - Method in class org.luaj.vm2.Buffer
Append a Java String to the buffer.
arg(int) - Method in class org.luaj.vm2.LuaValue
 
arg(int) - Method in class org.luaj.vm2.TailcallVarargs
 
arg(int) - Method in class org.luaj.vm2.Varargs
Get the n-th argument value (1-based).
arg1() - Method in class org.luaj.vm2.LuaValue
 
arg1() - Method in class org.luaj.vm2.TailcallVarargs
 
arg1() - Method in class org.luaj.vm2.Varargs
Get the first argument in the list.
argcheck(boolean, int, String) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaValue when a user-supplied assertion passes, or throw an error.
argerror(String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError indicating an invalid argument was supplied to a function
argerror(int, String) - Static method in class org.luaj.vm2.LuaValue
Throw a LuaError indicating an invalid argument was supplied to a function
aritherror() - Method in class org.luaj.vm2.LuaValue
Throw a LuaError based on an arithmetic error such as add, or pow, typically due to an invalid operand type
aritherror(String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError based on an arithmetic error such as add, or pow, typically due to an invalid operand type
arithmt(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform metatag processing for arithmetic operations.
arithmtwith(LuaValue, double) - Method in class org.luaj.vm2.LuaValue
Perform metatag processing for arithmetic operations when the left-hand-side is a number.
array - Variable in class org.luaj.vm2.LuaTable
the array values
assert_(boolean, String) - Static method in class org.luaj.vm2.LuaValue
Assert a condition is true, or throw a LuaError if not

B

BaseLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua basic library functions.
BaseLib() - Constructor for class org.luaj.vm2.lib.BaseLib
Construct a base libarary instance.
bind(LuaValue, Class, String[]) - Method in class org.luaj.vm2.lib.LibFunction
Bind a set of library functions.
bind(LuaValue, Class, String[], int) - Method in class org.luaj.vm2.lib.LibFunction
Bind a set of library functions, with an offset
BITRK - Static variable in class org.luaj.vm2.Lua
this bit 1 means constant (0 means register)
booleanValue() - Method in class org.luaj.vm2.LuaBoolean
Return the boolean value for this boolean
Buffer - Class in org.luaj.vm2
String buffer for use in string library methods, optimized for production of StrValue instances.
Buffer() - Constructor for class org.luaj.vm2.Buffer
Create buffer with default capacity
Buffer(int) - Constructor for class org.luaj.vm2.Buffer
Create buffer with specified initial capacity
Buffer(LuaValue) - Constructor for class org.luaj.vm2.Buffer
Create buffer with specified initial value
buffer() - Method in class org.luaj.vm2.LuaValue
Convert the value to a Buffer for more efficient concatenation of multiple strings.

C

call(LuaValue) - Method in class org.luaj.vm2.lib.BaseLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.jse.JseMathLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.jse.JseMathLib.JseMathLib1
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.jse.JseMathLib.JseMathLib2
 
call(LuaValue) - Method in class org.luaj.vm2.lib.MathLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.OneArgFunction
 
call() - Method in class org.luaj.vm2.lib.OneArgFunction
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.OneArgFunction
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.OneArgFunction
 
call(LuaValue) - Method in class org.luaj.vm2.lib.PackageLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.StringLib
 
call(LuaValue) - Method in class org.luaj.vm2.lib.TableLib
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.ThreeArgFunction
 
call() - Method in class org.luaj.vm2.lib.ThreeArgFunction
 
call(LuaValue) - Method in class org.luaj.vm2.lib.ThreeArgFunction
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.ThreeArgFunction
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.TwoArgFunction
 
call() - Method in class org.luaj.vm2.lib.TwoArgFunction
 
call(LuaValue) - Method in class org.luaj.vm2.lib.TwoArgFunction
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.TwoArgFunction
 
call() - Method in class org.luaj.vm2.lib.VarArgFunction
 
call(LuaValue) - Method in class org.luaj.vm2.lib.VarArgFunction
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.VarArgFunction
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.VarArgFunction
 
call() - Method in class org.luaj.vm2.lib.ZeroArgFunction
 
call(LuaValue) - Method in class org.luaj.vm2.lib.ZeroArgFunction
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.ZeroArgFunction
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.lib.ZeroArgFunction
 
call() - Method in class org.luaj.vm2.LuaClosure
 
call(LuaValue) - Method in class org.luaj.vm2.LuaClosure
 
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaClosure
 
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaClosure
 
CALL - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__call" for use as metatag
call() - Method in class org.luaj.vm2.LuaValue
Call this with 0 arguments, including metatag processing, and return only the first return value.
call(LuaValue) - Method in class org.luaj.vm2.LuaValue
Call this with 1 argument, including metatag processing, and return only the first return value.
call(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call this with 2 arguments, including metatag processing, and return only the first return value.
call(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call this with 3 arguments, including metatag processing, and return only the first return value.
callmt() - Method in class org.luaj.vm2.LuaValue
Get the metatag value for the CALL metatag, if it exists.
CALLS - Static variable in class org.luaj.vm2.lib.DebugLib
 
changemode(boolean, boolean) - Method in class org.luaj.vm2.LuaTable
Change the mode of a table
changemode(boolean, boolean) - Method in class org.luaj.vm2.WeakTable
 
char_(Varargs) - Static method in class org.luaj.vm2.lib.StringLib
string.char (...) Receives zero or more integers.
charAt(int) - Method in class org.luaj.vm2.LuaString
 
checkboolean() - Method in class org.luaj.vm2.LuaBoolean
 
checkboolean() - Method in class org.luaj.vm2.LuaValue
Check that the value is a LuaBoolean, or throw LuaError if not
checkboolean(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a boolean value, or throw an error if any other type.
checkclosure() - Method in class org.luaj.vm2.LuaClosure
 
checkclosure() - Method in class org.luaj.vm2.LuaValue
Check that the value is a LuaClosure , or throw LuaError if not
checkclosure(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a closure, or throw an error if any other type.
checkdouble() - Method in class org.luaj.vm2.LuaDouble
 
checkdouble() - Method in class org.luaj.vm2.LuaInteger
 
checkdouble() - Method in class org.luaj.vm2.LuaString
 
checkdouble() - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric and return the value as a double, or throw LuaError if not numeric
checkdouble(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a double, or throw an error if it cannot be converted to one.
checkfunction() - Method in class org.luaj.vm2.LuaFunction
 
checkfunction() - Method in class org.luaj.vm2.LuaValue
Check that the value is a function , or throw LuaError if not
checkfunction(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a function, or throw an error if an incompatible type.
checkint() - Method in class org.luaj.vm2.LuaDouble
 
checkint() - Method in class org.luaj.vm2.LuaInteger
 
checkint() - Method in class org.luaj.vm2.LuaString
 
checkint() - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric, and convert and cast value to int, or throw LuaError if not numeric
checkint(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java int value, discarding any fractional part, or throw an error if not a number.
checkinteger() - Method in class org.luaj.vm2.LuaDouble
 
checkinteger() - Method in class org.luaj.vm2.LuaInteger
 
checkinteger() - Method in class org.luaj.vm2.LuaString
 
checkinteger() - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric, and convert and cast value to int, or throw LuaError if not numeric
checkinteger(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java int value, or throw an error if not a number or is not representable by a java int.
checkjstring() - Method in class org.luaj.vm2.LuaDouble
 
checkjstring() - Method in class org.luaj.vm2.LuaInteger
 
checkjstring() - Method in class org.luaj.vm2.LuaString
 
checkjstring() - Method in class org.luaj.vm2.LuaValue
Convert this value to a Java String.
checkjstring(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java String if a string or number, or throw an error if any other type
checklong() - Method in class org.luaj.vm2.LuaDouble
 
checklong() - Method in class org.luaj.vm2.LuaInteger
 
checklong() - Method in class org.luaj.vm2.LuaString
 
checklong() - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric, and convert and cast value to long, or throw LuaError if not numeric
checklong(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java long value, discarding any fractional part, or throw an error if not a number.
checkmetatag(LuaValue, String) - Method in class org.luaj.vm2.LuaValue
Get particular metatag, or throw LuaError if it doesn't exist
checknotnil() - Method in class org.luaj.vm2.LuaNil
 
checknotnil() - Method in class org.luaj.vm2.LuaValue
Check that this is not the value NIL, or throw LuaError if it is
checknotnil(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaValue if it is not nil, or throw an error if it is nil.
checknumber() - Method in class org.luaj.vm2.LuaDouble
 
checknumber() - Method in class org.luaj.vm2.LuaNumber
 
checknumber(String) - Method in class org.luaj.vm2.LuaNumber
 
checknumber() - Method in class org.luaj.vm2.LuaString
 
checknumber(String) - Method in class org.luaj.vm2.LuaString
 
checknumber() - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric, and return as a LuaNumber if so, or throw LuaError
checknumber(String) - Method in class org.luaj.vm2.LuaValue
Check that the value is numeric, and return as a LuaNumber if so, or throw LuaError
checknumber(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaNumber, or throw an error if not a number or string that can be converted to a number.
checkstring() - Method in class org.luaj.vm2.LuaDouble
 
checkstring() - Method in class org.luaj.vm2.LuaInteger
 
checkstring() - Method in class org.luaj.vm2.LuaString
 
checkstring() - Method in class org.luaj.vm2.LuaValue
Check that this is a lua string, or throw LuaError if it is not.
checkstring(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaString if a string or number, or throw an error if any other type
checktable() - Method in class org.luaj.vm2.LuaTable
 
checktable() - Method in class org.luaj.vm2.LuaValue
Check that this is a LuaTable, or throw LuaError if it is not
checktable(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaTable if a lua table, or throw an error if any other type.
checkthread() - Method in class org.luaj.vm2.LuaThread
 
checkthread() - Method in class org.luaj.vm2.LuaValue
Check that this is a LuaThread, or throw LuaError if it is not
checkthread(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaThread if a lua thread, or throw an error if any other type.
checkuserdata() - Method in class org.luaj.vm2.LuaUserdata
 
checkuserdata(Class) - Method in class org.luaj.vm2.LuaUserdata
 
checkuserdata() - Method in class org.luaj.vm2.LuaValue
Check that this is a LuaUserdata, or throw LuaError if it is not
checkuserdata(Class) - Method in class org.luaj.vm2.LuaValue
Check that this is a LuaUserdata, or throw LuaError if it is not
checkuserdata(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if a userdata, or throw an error if any other type.
checkuserdata(int, Class) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if it is a userdata whose instance Class c or a subclass, or throw an error if any other type.
checkvalidkey() - Method in class org.luaj.vm2.LuaDouble
 
checkvalidkey() - Method in class org.luaj.vm2.LuaNil
 
checkvalidkey() - Method in class org.luaj.vm2.LuaValue
Check that this is a valid key in a table index operation, or throw LuaError if not
checkvalue(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaValue if it exists, or throw an error.
classForName(String) - Method in class org.luaj.vm2.lib.jse.LuajavaLib
 
clock() - Method in class org.luaj.vm2.lib.OsLib
 
close() - Method in class org.luaj.vm2.lib.IoLib.File
 
close() - Method in class org.luaj.vm2.UpValue
Close this upvalue so it is no longer on the stack
code - Variable in class org.luaj.vm2.Prototype
 
coerce(Object) - Static method in class org.luaj.vm2.lib.jse.CoerceJavaToLua
Coerse a Java object to a corresponding lua value.
coerce(LuaValue, Class) - Static method in class org.luaj.vm2.lib.jse.CoerceLuaToJava
Coerce a LuaValue value to a specified java class
CoerceJavaToLua - Class in org.luaj.vm2.lib.jse
Helper class to coerce values from Java to lua within the luajava library.
CoerceJavaToLua() - Constructor for class org.luaj.vm2.lib.jse.CoerceJavaToLua
 
CoerceLuaToJava - Class in org.luaj.vm2.lib.jse
Helper class to coerce values from lua to Java within the luajava library.
CoerceLuaToJava() - Constructor for class org.luaj.vm2.lib.jse.CoerceLuaToJava
 
compareerror(String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError based on a comparison error such as greater-than or less-than, typically due to an invalid operand type
compareerror(LuaValue) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError based on a comparison error such as greater-than or less-than, typically due to an invalid operand type
comparemt(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform metatag processing for comparison operations.
compile(InputStream, String) - Static method in class org.luaj.vm2.compiler.LuaC
Compile a prototype or load as a binary chunk
compileAll(InputStream, String, String) - Method in class org.luaj.vm2.luajc.LuaJC
 
compiler - Static variable in class org.luaj.vm2.LoadState
Compiler instance, if installed
concat(LuaValue) - Method in class org.luaj.vm2.LuaNumber
 
concat(Buffer) - Method in class org.luaj.vm2.LuaNumber
 
concat(LuaValue) - Method in class org.luaj.vm2.LuaString
 
concat(Buffer) - Method in class org.luaj.vm2.LuaString
 
concat(LuaString, int, int) - Method in class org.luaj.vm2.LuaTable
Concatenate the contents of a table efficiently, using Buffer
CONCAT - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__concat" for use as metatag
concat(LuaValue) - Method in class org.luaj.vm2.LuaValue
Concatenate another value onto this value and return the result using rules of lua string concatenation including metatag processing.
concat(Buffer) - Method in class org.luaj.vm2.LuaValue
Concatenate a Buffer onto this value and return the result using rules of lua string concatenation including metatag processing.
concatmt(LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform metatag processing for concatenation operations.
concatTo(LuaValue) - Method in class org.luaj.vm2.Buffer
Concatenate this buffer onto a LuaValue
concatTo(LuaString) - Method in class org.luaj.vm2.Buffer
Concatenate this buffer onto a LuaString
concatTo(LuaNumber) - Method in class org.luaj.vm2.Buffer
Concatenate this buffer onto a LuaNumber
concatTo(LuaNumber) - Method in class org.luaj.vm2.LuaNumber
 
concatTo(LuaString) - Method in class org.luaj.vm2.LuaNumber
 
concatTo(LuaNumber) - Method in class org.luaj.vm2.LuaString
 
concatTo(LuaString) - Method in class org.luaj.vm2.LuaString
 
concatTo(LuaValue) - Method in class org.luaj.vm2.LuaValue
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.
concatTo(LuaNumber) - Method in class org.luaj.vm2.LuaValue
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.
concatTo(LuaString) - Method in class org.luaj.vm2.LuaValue
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.
copyInto(int, byte[], int, int) - Method in class org.luaj.vm2.LuaString
Copy the bytes of the string into the given byte array.
coroutine_count - Static variable in class org.luaj.vm2.LuaThread
 
CoroutineLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard coroutine library.
CoroutineLib() - Constructor for class org.luaj.vm2.lib.CoroutineLib
 

D

date(String, double) - Method in class org.luaj.vm2.lib.OsLib
If the time argument is present, this is the time to be formatted (see the os.time function for a description of this value).
ddiv(double, double) - Static method in class org.luaj.vm2.LuaDouble
Divide two double numbers according to lua math, and return a LuaValue result.
ddiv_d(double, double) - Static method in class org.luaj.vm2.LuaDouble
Divide two double numbers according to lua math, and return a double result.
DEBUG_ENABLED - Static variable in class org.luaj.vm2.lib.DebugLib
 
debugBytecode(int, Varargs, int) - Static method in class org.luaj.vm2.lib.DebugLib
Called by Closures on bytecode execution
debugGlobals() - Static method in class org.luaj.vm2.lib.jme.JmePlatform
Create standard globals including the debug library.
debugGlobals() - Static method in class org.luaj.vm2.lib.jse.JsePlatform
Create standard globals including the debug library.
DebugLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard debug library.
DebugLib() - Constructor for class org.luaj.vm2.lib.DebugLib
 
debugOnCall(LuaThread, int, LuaFunction) - Static method in class org.luaj.vm2.lib.DebugLib
Called by Closures and recursing java functions on entry
debugOnReturn(LuaThread, int) - Static method in class org.luaj.vm2.lib.DebugLib
Called by Closures and recursing java functions on return
debugSetupCall(Varargs, LuaValue[]) - Static method in class org.luaj.vm2.lib.DebugLib
Called by Closures to set up stack and arguments to next call
debugState - Variable in class org.luaj.vm2.LuaThread
Thread-local used by DebugLib to store debugging state.
decodeAsUtf8(byte[], int, int) - Static method in class org.luaj.vm2.LuaString
Convert to Java String interpreting as utf8 characters.
DEFAULT_LUA_PATH - Static variable in class org.luaj.vm2.lib.PackageLib
 
difftime(double, double) - Method in class org.luaj.vm2.lib.OsLib
Returns the number of seconds from time t1 to time t2.
div(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
div(double) - Method in class org.luaj.vm2.LuaDouble
 
div(int) - Method in class org.luaj.vm2.LuaDouble
 
div(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
div(double) - Method in class org.luaj.vm2.LuaInteger
 
div(int) - Method in class org.luaj.vm2.LuaInteger
 
div(LuaValue) - Method in class org.luaj.vm2.LuaString
 
div(double) - Method in class org.luaj.vm2.LuaString
 
div(int) - Method in class org.luaj.vm2.LuaString
 
DIV - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__div" for use as metatag
div(LuaValue) - Method in class org.luaj.vm2.LuaValue
Divide: Perform numeric divide operation by another value of unknown type, including metatag processing.
div(double) - Method in class org.luaj.vm2.LuaValue
Divide: Perform numeric divide operation by another value of double type without metatag processing
div(int) - Method in class org.luaj.vm2.LuaValue
Divide: Perform numeric divide operation by another value of int type without metatag processing
divInto(double) - Method in class org.luaj.vm2.LuaDouble
 
divInto(double) - Method in class org.luaj.vm2.LuaInteger
 
divInto(double) - Method in class org.luaj.vm2.LuaString
 
divInto(double) - Method in class org.luaj.vm2.LuaValue
Reverse-divide: Perform numeric divide operation into another value with metatag processing
dmod(double, double) - Static method in class org.luaj.vm2.LuaDouble
Take modulo double numbers according to lua math, and return a LuaValue result.
dmod_d(double, double) - Static method in class org.luaj.vm2.LuaDouble
Take modulo for double numbers according to lua math, and return a double result.
dpow(double, double) - Static method in class org.luaj.vm2.lib.MathLib
compute power using installed math library, or default if there is no math library installed
dpow_d(double, double) - Static method in class org.luaj.vm2.lib.MathLib
 
dpow_default(double, double) - Static method in class org.luaj.vm2.lib.MathLib
Default JME version computes using longhand heuristics.
dpow_lib(double, double) - Method in class org.luaj.vm2.lib.jse.JseMathLib
Faster, better version of pow() used by arithmetic operator ^
dpow_lib(double, double) - Method in class org.luaj.vm2.lib.MathLib
Hook to override default dpow behavior with faster implementation.

E

EMPTYSTRING - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value ""
encodeToUtf8(char[], byte[], int) - Static method in class org.luaj.vm2.LuaString
Encode the given Java string as UTF-8 bytes, writing the result to bytes starting at offset.
endpc - Variable in class org.luaj.vm2.LocVars
The instruction offset when the variable goes out of scope
env - Variable in class org.luaj.vm2.LuaFunction
 
eq(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
eq(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
eq(LuaValue) - Method in class org.luaj.vm2.LuaString
 
eq(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
eq(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
EQ - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__eq" for use as metatag
eq(LuaValue) - Method in class org.luaj.vm2.LuaValue
Equals: Perform equality comparison with another value including metatag processing using EQ.
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaString
 
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
eq_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Equals: Perform equality comparison with another value including metatag processing using EQ, and return java boolean
eqmt(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
eqmtcall(LuaValue, LuaValue, LuaValue, LuaValue) - Static method in class org.luaj.vm2.LuaValue
Perform equality testing metatag processing
equals(Object) - Method in class org.luaj.vm2.LuaDouble
 
equals(Object) - Method in class org.luaj.vm2.LuaInteger
 
equals(Object) - Method in class org.luaj.vm2.LuaNil
 
equals(Object) - Method in class org.luaj.vm2.LuaString
 
equals(LuaString, int, LuaString, int, int) - Static method in class org.luaj.vm2.LuaString
 
equals(byte[], int, byte[], int, int) - Static method in class org.luaj.vm2.LuaString
 
equals(Object) - Method in class org.luaj.vm2.LuaUserdata
 
equals(Object) - Method in class org.luaj.vm2.LuaValue
 
err - Variable in class org.luaj.vm2.LuaThread
Field to hold state of error condition during debug hook function calls.
error(String) - Static method in class org.luaj.vm2.LuaValue
Throw a LuaError with a particular message
eval() - Method in class org.luaj.vm2.TailcallVarargs
 
eval() - Method in class org.luaj.vm2.Varargs
Evaluate any pending tail call and return result.
EXEC_ERROR - Static variable in class org.luaj.vm2.lib.jse.JseOsLib
return code indicating the execute() threw an unknown exception
EXEC_INTERRUPTED - Static variable in class org.luaj.vm2.lib.jse.JseOsLib
return code indicating the execute() was interrupted
EXEC_IOEXCEPTION - Static variable in class org.luaj.vm2.lib.jse.JseOsLib
return code indicating the execute() threw an I/O exception
execute(String) - Method in class org.luaj.vm2.lib.jse.JseOsLib
 
execute(String) - Method in class org.luaj.vm2.lib.OsLib
This function is equivalent to the C function system.
execute(LuaValue[], Varargs) - Method in class org.luaj.vm2.LuaClosure
 
exit(int) - Method in class org.luaj.vm2.lib.OsLib
Calls the C function exit, with an optional code, to terminate the host program.
exitValue() - Method in class org.luaj.vm2.lib.jse.JseProcess
Get the exit value of the process.

F

FALSE - Static variable in class org.luaj.vm2.LuaValue
LuaBoolean constant corresponding to lua false
FILE_NAMES - Static variable in class org.luaj.vm2.lib.IoLib
 
fileline() - Static method in class org.luaj.vm2.lib.DebugLib
Get file and line for the nearest calling closure.
fileline(int) - Static method in class org.luaj.vm2.lib.DebugLib
Get file and line for a particular level, even if it is a java function.
FINDER - Static variable in class org.luaj.vm2.lib.BaseLib
Singleton file opener for this Java ClassLoader realm.
findResource(String) - Method in class org.luaj.vm2.lib.BaseLib
ResourceFinder implementation Tries to open the file as a resource, which can work for .
findResource(String) - Method in class org.luaj.vm2.lib.jse.JseBaseLib
Try to open a file in the current working directory, or fall back to base opener if not found.
findResource(String) - Method in interface org.luaj.vm2.lib.ResourceFinder
Try to open a file, or return null if not found.
flush() - Method in class org.luaj.vm2.lib.IoLib.File
 
foreach(LuaValue) - Method in class org.luaj.vm2.LuaTable
Call the supplied function once for each key-value pair
foreachi(LuaValue) - Method in class org.luaj.vm2.LuaTable
Call the supplied function once for each key-value pair in the contiguous array part
freadall(IoLib.File) - Static method in class org.luaj.vm2.lib.IoLib
 
freadbytes(IoLib.File, int) - Static method in class org.luaj.vm2.lib.IoLib
 
freadline(IoLib.File) - Static method in class org.luaj.vm2.lib.IoLib
 
freadnumber(IoLib.File) - Static method in class org.luaj.vm2.lib.IoLib
 
freaduntil(IoLib.File, boolean) - Static method in class org.luaj.vm2.lib.IoLib
 

G

GC_INTERVAL - Static variable in class org.luaj.vm2.LuaThread
Interval to check for LuaThread dereferencing.
get(LuaValue) - Method in class org.luaj.vm2.lib.IoLib.File
 
get(LuaValue) - Method in class org.luaj.vm2.LuaString
 
get(int) - Method in class org.luaj.vm2.LuaTable
 
get(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
get(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
get(LuaValue) - Method in class org.luaj.vm2.LuaValue
Get a value in a table including metatag processing using INDEX.
get(int) - Method in class org.luaj.vm2.LuaValue
Get a value in a table including metatag processing using INDEX.
get(String) - Method in class org.luaj.vm2.LuaValue
Get a value in a table including metatag processing using INDEX.
GET_OPCODE(int) - Static method in class org.luaj.vm2.Lua
 
GETARG_A(int) - Static method in class org.luaj.vm2.Lua
 
GETARG_B(int) - Static method in class org.luaj.vm2.Lua
 
GETARG_Bx(int) - Static method in class org.luaj.vm2.Lua
 
GETARG_C(int) - Static method in class org.luaj.vm2.Lua
 
GETARG_sBx(int) - Static method in class org.luaj.vm2.Lua
 
getArrayLength() - Method in class org.luaj.vm2.LuaTable
Get the length of the array part of the table.
getArrayLength() - Method in class org.luaj.vm2.WeakTable
 
getBMode(int) - Static method in class org.luaj.vm2.Lua
 
getCallstackDepth() - Method in class org.luaj.vm2.LuaThread.CallStack
Get number of calls in stack
getCallstackFunction(int) - Static method in class org.luaj.vm2.LuaThread
Get the function called as a specific location on the stack.
getCause() - Method in exception org.luaj.vm2.LuaError
Get the cause, if any.
getCMode(int) - Static method in class org.luaj.vm2.Lua
 
getenv(String) - Method in class org.luaj.vm2.lib.OsLib
Returns the value of the process environment variable varname, or null if the variable is not defined.
getfenv() - Method in class org.luaj.vm2.LuaFunction
 
getfenv() - Method in class org.luaj.vm2.LuaThread
 
getfenv() - Method in class org.luaj.vm2.LuaValue
Get the environemnt for an instance.
getGlobals() - Static method in class org.luaj.vm2.LuaThread
Get the current thread's environment
getHashLength() - Method in class org.luaj.vm2.LuaTable
Get the length of the hash part of the table.
getHashLength() - Method in class org.luaj.vm2.WeakTable
 
getInstance() - Static method in class org.luaj.vm2.luajc.LuaJC
 
getlocalname(int, int) - Method in class org.luaj.vm2.Prototype
Get the name of a local variable.
getmetatable() - Method in class org.luaj.vm2.LuaBoolean
 
getmetatable() - Method in class org.luaj.vm2.LuaClosure
 
getmetatable() - Method in class org.luaj.vm2.LuaFunction
 
getmetatable() - Method in class org.luaj.vm2.LuaNil
 
getmetatable() - Method in class org.luaj.vm2.LuaNumber
 
getmetatable() - Method in class org.luaj.vm2.LuaString
 
getmetatable() - Method in class org.luaj.vm2.LuaTable
 
getmetatable() - Method in class org.luaj.vm2.LuaThread
 
getmetatable() - Method in class org.luaj.vm2.LuaUserdata
 
getmetatable() - Method in class org.luaj.vm2.LuaValue
Get the metatable for this LuaValue
getn() - Method in class org.luaj.vm2.LuaTable
 
getn() - Method in class org.luaj.vm2.LuaValue
Implementation of lua 5.0 getn() function.
getOpMode(int) - Static method in class org.luaj.vm2.Lua
 
getRunning() - Static method in class org.luaj.vm2.LuaThread
Get the currently running thread.
getSourceName(String) - Static method in class org.luaj.vm2.LoadState
Construct a source name from a supplied chunk name
getStatus() - Method in class org.luaj.vm2.LuaThread
 
gettable(LuaValue, LuaValue) - Static method in class org.luaj.vm2.LuaValue
get value from metatable operations, or NIL if not defined by metatables
getUpvalue(int) - Method in class org.luaj.vm2.LuaClosure
 
getValue() - Method in class org.luaj.vm2.UpValue
Get the value of the upvalue
gt(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
gt(double) - Method in class org.luaj.vm2.LuaDouble
 
gt(int) - Method in class org.luaj.vm2.LuaDouble
 
gt(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
gt(double) - Method in class org.luaj.vm2.LuaInteger
 
gt(int) - Method in class org.luaj.vm2.LuaInteger
 
gt(LuaValue) - Method in class org.luaj.vm2.LuaString
 
gt(LuaValue) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
gt(double) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
gt(int) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
gt_b(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
gt_b(int) - Method in class org.luaj.vm2.LuaDouble
 
gt_b(double) - Method in class org.luaj.vm2.LuaDouble
 
gt_b(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
gt_b(int) - Method in class org.luaj.vm2.LuaInteger
 
gt_b(double) - Method in class org.luaj.vm2.LuaInteger
 
gt_b(LuaValue) - Method in class org.luaj.vm2.LuaString
 
gt_b(int) - Method in class org.luaj.vm2.LuaString
 
gt_b(double) - Method in class org.luaj.vm2.LuaString
 
gt_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
gt_b(int) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric comparison with another value of int type, including metatag processing, and returning java boolean.
gt_b(double) - Method in class org.luaj.vm2.LuaValue
Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
gteq(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
gteq(double) - Method in class org.luaj.vm2.LuaDouble
 
gteq(int) - Method in class org.luaj.vm2.LuaDouble
 
gteq(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
gteq(double) - Method in class org.luaj.vm2.LuaInteger
 
gteq(int) - Method in class org.luaj.vm2.LuaInteger
 
gteq(LuaValue) - Method in class org.luaj.vm2.LuaString
 
gteq(LuaValue) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
gteq(double) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
gteq(int) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
gteq_b(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
gteq_b(int) - Method in class org.luaj.vm2.LuaDouble
 
gteq_b(double) - Method in class org.luaj.vm2.LuaDouble
 
gteq_b(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
gteq_b(int) - Method in class org.luaj.vm2.LuaInteger
 
gteq_b(double) - Method in class org.luaj.vm2.LuaInteger
 
gteq_b(LuaValue) - Method in class org.luaj.vm2.LuaString
 
gteq_b(int) - Method in class org.luaj.vm2.LuaString
 
gteq_b(double) - Method in class org.luaj.vm2.LuaString
 
gteq_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
gteq_b(int) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning java boolean.
gteq_b(double) - Method in class org.luaj.vm2.LuaValue
Greater than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning java boolean.

H

hashClearSlot(int) - Method in class org.luaj.vm2.LuaTable
Clear a particular slot in the table
hashCode() - Method in class org.luaj.vm2.LuaDouble
 
hashCode() - Method in class org.luaj.vm2.LuaInteger
 
hashCode() - Method in class org.luaj.vm2.LuaString
 
hashCode() - Method in class org.luaj.vm2.LuaUserdata
 
hashEntries - Variable in class org.luaj.vm2.LuaTable
the number of hash entries
hashFindSlot(LuaValue) - Method in class org.luaj.vm2.LuaTable
Find the hashtable slot to use
hashFindSlot(LuaValue) - Method in class org.luaj.vm2.WeakTable
 
hashget(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
hashget(LuaValue) - Method in class org.luaj.vm2.WeakTable
Get the hash value for a key key the key to look up
hashKeys - Variable in class org.luaj.vm2.LuaTable
the hash keys
hashset(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaTable
Set a hashtable value
hashValues - Variable in class org.luaj.vm2.LuaTable
the hash values

I

iABC - Static variable in class org.luaj.vm2.Lua
 
iABx - Static variable in class org.luaj.vm2.Lua
 
iAsBx - Static variable in class org.luaj.vm2.Lua
 
illegal(String, String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError indicating an illegal operation occurred, typically involved in managing weak references
INDEX - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__index" for use as metatag
INDEXK(int) - Static method in class org.luaj.vm2.Lua
gets the index of the constant
indexOf(byte, int) - Method in class org.luaj.vm2.LuaString
Find the index of a byte starting at a point in this string
indexOf(LuaString, int) - Method in class org.luaj.vm2.LuaString
Find the index of a string starting at a point in this string
indexOfAny(LuaString) - Method in class org.luaj.vm2.LuaString
Java version of strpbrk - find index of any byte that in an accept string.
inext(LuaValue) - Method in class org.luaj.vm2.LuaTable
Get the next element after a particular key in the contiguous array part of a table
inext(LuaValue) - Method in class org.luaj.vm2.LuaValue
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.
init() - Method in class org.luaj.vm2.lib.OsLib
 
insert(int, LuaValue) - Method in class org.luaj.vm2.LuaTable
Insert an element at a position in a list-table
install() - Static method in class org.luaj.vm2.compiler.LuaC
Install the compiler so that LoadState will first try to use it when handed bytes that are not already a compiled lua chunk.
install() - Static method in class org.luaj.vm2.luajc.LuaJC
Install the compiler as the main compiler to use.
instance - Static variable in class org.luaj.vm2.compiler.LuaC
 
instance - Static variable in class org.luaj.vm2.lib.BaseLib
 
instance - Static variable in class org.luaj.vm2.lib.PackageLib
Most recent instance of PackageLib
instance - Static variable in class org.luaj.vm2.lib.StringLib
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.CoroutineLib
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.DebugLib
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.jse.LuajavaLib
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.OneArgFunction
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.OsLib
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.ThreeArgFunction
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.TwoArgFunction
 
invoke(Varargs) - Method in class org.luaj.vm2.lib.VarArgFunction
Override and implement for the best performance.
invoke(Varargs) - Method in class org.luaj.vm2.lib.ZeroArgFunction
 
invoke(Varargs) - Method in class org.luaj.vm2.LuaClosure
 
invoke() - Method in class org.luaj.vm2.LuaValue
Call this with 0 arguments, including metatag processing, and retain all return values in a Varargs.
invoke(Varargs) - Method in class org.luaj.vm2.LuaValue
Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invoke(LuaValue, Varargs) - Method in class org.luaj.vm2.LuaValue
Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invoke(LuaValue, LuaValue, Varargs) - Method in class org.luaj.vm2.LuaValue
Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invoke(LuaValue[]) - Method in class org.luaj.vm2.LuaValue
Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invoke(LuaValue[], Varargs) - Method in class org.luaj.vm2.LuaValue
Call this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invokemethod(String) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 0 arguments, including metatag processing, and retain all return values in a Varargs.
invokemethod(LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 0 arguments, including metatag processing, and retain all return values in a Varargs.
invokemethod(String, Varargs) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 1 argument, including metatag processing, and retain all return values in a Varargs.
invokemethod(LuaValue, Varargs) - Method in class org.luaj.vm2.LuaValue
Call named method on this with variable arguments, including metatag processing, and retain all return values in a Varargs.
invokemethod(String, LuaValue[]) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 1 argument, including metatag processing, and retain all return values in a Varargs.
invokemethod(LuaValue, LuaValue[]) - Method in class org.luaj.vm2.LuaValue
Call named method on this with variable arguments, including metatag processing, and retain all return values in a Varargs.
IO_NAMES - Static variable in class org.luaj.vm2.lib.IoLib
 
IoLib - Class in org.luaj.vm2.lib
Abstract base class extending LibFunction which implements the core of the lua standard io library.
IoLib() - Constructor for class org.luaj.vm2.lib.IoLib
 
IoLib.File - Class in org.luaj.vm2.lib
 
IoLib.File() - Constructor for class org.luaj.vm2.lib.IoLib.File
 
is - Variable in class org.luaj.vm2.LoadState
input stream from which we are loading
is_vararg - Variable in class org.luaj.vm2.Prototype
 
isboolean() - Method in class org.luaj.vm2.LuaBoolean
 
isboolean() - Method in class org.luaj.vm2.LuaValue
Check if this is a boolean
isclosed() - Method in class org.luaj.vm2.lib.IoLib.File
 
isclosure() - Method in class org.luaj.vm2.LuaClosure
 
isclosure() - Method in class org.luaj.vm2.LuaValue
Check if this is a function that is a closure, meaning interprets lua bytecode for its execution
isfunction() - Method in class org.luaj.vm2.LuaFunction
 
isfunction() - Method in class org.luaj.vm2.LuaValue
Check if this is a function
isfunction(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a function.
isint() - Method in class org.luaj.vm2.LuaInteger
 
isint() - Method in class org.luaj.vm2.LuaString
 
isint() - Method in class org.luaj.vm2.LuaValue
Check if this is a number and is representable by java int without rounding or truncation
isinttype() - Method in class org.luaj.vm2.LuaInteger
 
isinttype() - Method in class org.luaj.vm2.LuaValue
Check if this is a LuaInteger
ISK(int) - Static method in class org.luaj.vm2.Lua
test whether value is a constant
islong() - Method in class org.luaj.vm2.LuaDouble
 
islong() - Method in class org.luaj.vm2.LuaInteger
 
islong() - Method in class org.luaj.vm2.LuaString
 
islong() - Method in class org.luaj.vm2.LuaValue
Check if this is a number and is representable by java long without rounding or truncation
isMainThread(LuaThread) - Static method in class org.luaj.vm2.LuaThread
Test if this is the main thread
isnil() - Method in class org.luaj.vm2.LuaNil
 
isnil() - Method in class org.luaj.vm2.LuaValue
Check if this is nil
isnil(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is nil.
isnoneornil(int) - Method in class org.luaj.vm2.Varargs
Return true if there is no argument or nil at argument i.
isnumber() - Method in class org.luaj.vm2.LuaDouble
 
isnumber() - Method in class org.luaj.vm2.LuaNumber
 
isnumber() - Method in class org.luaj.vm2.LuaString
 
isnumber() - Method in class org.luaj.vm2.LuaValue
Check if this is a number
isnumber(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a number.
isstdfile() - Method in class org.luaj.vm2.lib.IoLib.File
 
isstring() - Method in class org.luaj.vm2.LuaDouble
 
isstring() - Method in class org.luaj.vm2.LuaInteger
 
isstring() - Method in class org.luaj.vm2.LuaNumber
 
isstring() - Method in class org.luaj.vm2.LuaString
 
isstring() - Method in class org.luaj.vm2.LuaValue
Check if this is a string
isstring(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a string.
istable() - Method in class org.luaj.vm2.LuaTable
 
istable() - Method in class org.luaj.vm2.LuaValue
Check if this is a table
istable(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a table.
isTailcall() - Method in class org.luaj.vm2.TailcallVarargs
 
isTailcall() - Method in class org.luaj.vm2.Varargs
Return true if this is a TailcallVarargs
isthread() - Method in class org.luaj.vm2.LuaThread
 
isthread() - Method in class org.luaj.vm2.LuaValue
Check if this is a thread
isthread(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a thread.
isuserdata() - Method in class org.luaj.vm2.LuaUserdata
 
isuserdata(Class) - Method in class org.luaj.vm2.LuaUserdata
 
isuserdata() - Method in class org.luaj.vm2.LuaValue
Check if this is a userdata
isuserdata(Class) - Method in class org.luaj.vm2.LuaValue
Check if this is a userdata of type c
isuserdata(int) - Method in class org.luaj.vm2.Varargs
Tests if argument i is a userdata.
isValidUtf8() - Method in class org.luaj.vm2.LuaString
Check that a byte sequence is valid UTF-8
isvalue(int) - Method in class org.luaj.vm2.Varargs
Tests if a value exists at argument i.
isweaknil() - Method in class org.luaj.vm2.LuaValue
Test if this is a weak reference and its value no longer is referenced.

J

java_loader - Variable in class org.luaj.vm2.lib.PackageLib
Loader that loads as a Java class.
JmeIoLib - Class in org.luaj.vm2.lib.jme
Subclass of IoLib and therefore LibFunction which implements the lua standard io library for the JSE platform.
JmeIoLib() - Constructor for class org.luaj.vm2.lib.jme.JmeIoLib
 
JmePlatform - Class in org.luaj.vm2.lib.jme
The JmePlatform class is a convenience class to standardize how globals tables are initialized for the JME platform.
JmePlatform() - Constructor for class org.luaj.vm2.lib.jme.JmePlatform
 
JseBaseLib - Class in org.luaj.vm2.lib.jse
Subclass of BaseLib and LibFunction which implements the lua basic library functions and provides a directory based ResourceFinder as the BaseLib.FINDER.
JseBaseLib() - Constructor for class org.luaj.vm2.lib.jse.JseBaseLib
Construct a JSE base library instance
JseIoLib - Class in org.luaj.vm2.lib.jse
Subclass of IoLib and therefore LibFunction which implements the lua standard io library for the JSE platform.
JseIoLib() - Constructor for class org.luaj.vm2.lib.jse.JseIoLib
 
JseMathLib - Class in org.luaj.vm2.lib.jse
Subclass of LibFunction which implements the lua standard math library.
JseMathLib() - Constructor for class org.luaj.vm2.lib.jse.JseMathLib
 
JseMathLib.JseMathLib1 - Class in org.luaj.vm2.lib.jse
 
JseMathLib.JseMathLib1() - Constructor for class org.luaj.vm2.lib.jse.JseMathLib.JseMathLib1
 
JseMathLib.JseMathLib2 - Class in org.luaj.vm2.lib.jse
 
JseMathLib.JseMathLib2() - Constructor for class org.luaj.vm2.lib.jse.JseMathLib.JseMathLib2
 
JseOsLib - Class in org.luaj.vm2.lib.jse
Subclass of LibFunction which implements the standard lua os library.
JseOsLib() - Constructor for class org.luaj.vm2.lib.jse.JseOsLib
public constructor
JsePlatform - Class in org.luaj.vm2.lib.jse
The JsePlatform class is a convenience class to standardize how globals tables are initialized for the JSE platform.
JsePlatform() - Constructor for class org.luaj.vm2.lib.jse.JsePlatform
 
JseProcess - Class in org.luaj.vm2.lib.jse
Analog of Process that pipes input and output to client-specified streams.
JseProcess(String[], InputStream, OutputStream, OutputStream) - Constructor for class org.luaj.vm2.lib.jse.JseProcess
Construct a process around a command, with specified streams to redirect input and output to.
JseProcess(String, InputStream, OutputStream, OutputStream) - Constructor for class org.luaj.vm2.lib.jse.JseProcess
Construct a process around a command, with specified streams to redirect input and output to.
JSTR_NAN - Static variable in class org.luaj.vm2.LuaDouble
Constant String representation for NaN (not a number), "nan"
JSTR_NEGINF - Static variable in class org.luaj.vm2.LuaDouble
Constant String representation for negative infinity, "-inf"
JSTR_POSINF - Static variable in class org.luaj.vm2.LuaDouble
Constant String representation for positive infinity, "inf"

K

k - Variable in class org.luaj.vm2.Prototype
 
keyCount() - Method in class org.luaj.vm2.LuaTable
This may be deprecated in a future release.
keys() - Method in class org.luaj.vm2.LuaTable
This may be deprecated in a future release.

L

lastIndexOf(LuaString) - Method in class org.luaj.vm2.LuaString
Find the last index of a string in this string
lastlinedefined - Variable in class org.luaj.vm2.Prototype
 
LE - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__le" for use as metatag
len() - Method in class org.luaj.vm2.LuaString
 
len() - Method in class org.luaj.vm2.LuaTable
 
LEN - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__len" for use as metatag
len() - Method in class org.luaj.vm2.LuaValue
Length operator: return lua length of object (#this) including metatag processing as java int
lenerror() - Method in class org.luaj.vm2.LuaValue
Throw a LuaError based on the len operator, typically due to an invalid operand type
length() - Method in class org.luaj.vm2.LuaString
 
length() - Method in class org.luaj.vm2.LuaTable
 
length() - Method in class org.luaj.vm2.LuaValue
Length operator: return lua length of object (#this) including metatag processing as java int
lengthAsUtf8(char[]) - Static method in class org.luaj.vm2.LuaString
Count the number of bytes required to encode the string as UTF-8.
LFIELDS_PER_FLUSH - Static variable in class org.luaj.vm2.Lua
 
LibFunction - Class in org.luaj.vm2.lib
Subclass of LuaFunction common to Java functions exposed to lua.
LibFunction() - Constructor for class org.luaj.vm2.lib.LibFunction
Default constructor for use by subclasses
linedefined - Variable in class org.luaj.vm2.Prototype
 
lineinfo - Variable in class org.luaj.vm2.Prototype
 
listOf(LuaValue[]) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied array values.
listOf(LuaValue[], Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied array values.
load(InputStream, String, LuaValue) - Method in class org.luaj.vm2.compiler.LuaC
Load into a Closure or LuaFunction, with the supplied initial environment
load(Prototype, String, LuaValue) - Method in class org.luaj.vm2.compiler.LuaC
 
load(InputStream, String, LuaValue) - Static method in class org.luaj.vm2.LoadState
Load lua in either binary or text form from an input stream.
load(InputStream, String, LuaValue) - Method in interface org.luaj.vm2.LoadState.LuaCompiler
Load into a Closure or LuaFunction from a Stream and initializes the environment
load(InputStream, String, LuaValue) - Method in class org.luaj.vm2.luajc.LuaJC
 
load(LuaValue) - Method in class org.luaj.vm2.LuaValue
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.
loadBinaryChunk(int, InputStream, String) - Static method in class org.luaj.vm2.LoadState
Load lua thought to be a binary chunk from its first byte from an input stream.
LOADED - Variable in class org.luaj.vm2.lib.PackageLib
 
loadFile(String) - Static method in class org.luaj.vm2.lib.BaseLib
Load from a named file, returning the chunk or nil,error of can't load
loadFunction(LuaString) - Method in class org.luaj.vm2.LoadState
Load a function prototype from the input stream
loadHeader() - Method in class org.luaj.vm2.LoadState
Load the lua chunk header values.
loadlib(Varargs) - Static method in class org.luaj.vm2.lib.PackageLib
 
LoadState - Class in org.luaj.vm2
Class to manage loading of Prototype instances.
LoadState.LuaCompiler - Interface in org.luaj.vm2
Interface for the compiler, if it is installed.
loadStream(InputStream, String) - Static method in class org.luaj.vm2.lib.BaseLib
 
LocVars - Class in org.luaj.vm2
Data class to hold debug information relatign to local variables for a Prototype
LocVars(LuaString, int, int) - Constructor for class org.luaj.vm2.LocVars
Construct a LocVars instance.
locvars - Variable in class org.luaj.vm2.Prototype
 
longBitsToLuaNumber(long) - Static method in class org.luaj.vm2.LoadState
Convert bits in a long value to a LuaValue.
lt(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
lt(double) - Method in class org.luaj.vm2.LuaDouble
 
lt(int) - Method in class org.luaj.vm2.LuaDouble
 
lt(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
lt(double) - Method in class org.luaj.vm2.LuaInteger
 
lt(int) - Method in class org.luaj.vm2.LuaInteger
 
lt(LuaValue) - Method in class org.luaj.vm2.LuaString
 
LT - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__lt" for use as metatag
lt(LuaValue) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
lt(double) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
lt(int) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
lt_b(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
lt_b(int) - Method in class org.luaj.vm2.LuaDouble
 
lt_b(double) - Method in class org.luaj.vm2.LuaDouble
 
lt_b(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
lt_b(int) - Method in class org.luaj.vm2.LuaInteger
 
lt_b(double) - Method in class org.luaj.vm2.LuaInteger
 
lt_b(LuaValue) - Method in class org.luaj.vm2.LuaString
 
lt_b(int) - Method in class org.luaj.vm2.LuaString
 
lt_b(double) - Method in class org.luaj.vm2.LuaString
 
lt_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
lt_b(int) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric comparison with another value of int type, including metatag processing, and returning java boolean.
lt_b(double) - Method in class org.luaj.vm2.LuaValue
Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
lteq(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
lteq(double) - Method in class org.luaj.vm2.LuaDouble
 
lteq(int) - Method in class org.luaj.vm2.LuaDouble
 
lteq(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
lteq(double) - Method in class org.luaj.vm2.LuaInteger
 
lteq(int) - Method in class org.luaj.vm2.LuaInteger
 
lteq(LuaValue) - Method in class org.luaj.vm2.LuaString
 
lteq(LuaValue) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning LuaValue.
lteq(double) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning LuaValue.
lteq(int) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning LuaValue.
lteq_b(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
lteq_b(int) - Method in class org.luaj.vm2.LuaDouble
 
lteq_b(double) - Method in class org.luaj.vm2.LuaDouble
 
lteq_b(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
lteq_b(int) - Method in class org.luaj.vm2.LuaInteger
 
lteq_b(double) - Method in class org.luaj.vm2.LuaInteger
 
lteq_b(LuaValue) - Method in class org.luaj.vm2.LuaString
 
lteq_b(int) - Method in class org.luaj.vm2.LuaString
 
lteq_b(double) - Method in class org.luaj.vm2.LuaString
 
lteq_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.
lteq_b(int) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returning java boolean.
lteq_b(double) - Method in class org.luaj.vm2.LuaValue
Less than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returning java boolean.
Lua - Class in org.luaj.vm2
Constants for lua limits and opcodes.
Lua() - Constructor for class org.luaj.vm2.Lua
 
lua_loader - Variable in class org.luaj.vm2.lib.PackageLib
Loader that loads as a lua script using the LUA_PATH
LUA_MULTRET - Static variable in class org.luaj.vm2.Lua
use return values from previous op
LUA_TBOOLEAN - Static variable in class org.luaj.vm2.LoadState
 
LUA_TFUNCTION - Static variable in class org.luaj.vm2.LoadState
 
LUA_TINT - Static variable in class org.luaj.vm2.LoadState
 
LUA_TLIGHTUSERDATA - Static variable in class org.luaj.vm2.LoadState
 
LUA_TNIL - Static variable in class org.luaj.vm2.LoadState
 
LUA_TNONE - Static variable in class org.luaj.vm2.LoadState
 
LUA_TNUMBER - Static variable in class org.luaj.vm2.LoadState
 
LUA_TSTRING - Static variable in class org.luaj.vm2.LoadState
 
LUA_TTABLE - Static variable in class org.luaj.vm2.LoadState
 
LUA_TTHREAD - Static variable in class org.luaj.vm2.LoadState
 
LUA_TUSERDATA - Static variable in class org.luaj.vm2.LoadState
 
LUA_TVALUE - Static variable in class org.luaj.vm2.LoadState
 
LuaBoolean - Class in org.luaj.vm2
Extension of LuaValue which can hold a Java boolean as its value.
luaByte(int) - Method in class org.luaj.vm2.LuaString
 
LuaC - Class in org.luaj.vm2.compiler
Compiler for Lua.
LuaC() - Constructor for class org.luaj.vm2.compiler.LuaC
 
LUAC_FORMAT - Static variable in class org.luaj.vm2.LoadState
for header of binary files -- this is the official format
LUAC_HEADERSIZE - Static variable in class org.luaj.vm2.LoadState
size of header of binary files
LUAC_VERSION - Static variable in class org.luaj.vm2.LoadState
for header of binary files -- this is Lua 5.1
LuaClosure - Class in org.luaj.vm2
Extension of LuaFunction which executes lua bytecode.
LuaClosure(Prototype, LuaValue) - Constructor for class org.luaj.vm2.LuaClosure
Supply the initial environment
LuaClosure(int, LuaValue) - Constructor for class org.luaj.vm2.LuaClosure
 
LuaDouble - Class in org.luaj.vm2
Extension of LuaNumber which can hold a Java double as its value.
LuaError - Exception in org.luaj.vm2
RuntimeException that is thrown and caught in response to a lua error.
LuaError(Throwable) - Constructor for exception org.luaj.vm2.LuaError
Construct LuaError when a program exception occurs.
LuaError(String) - Constructor for exception org.luaj.vm2.LuaError
Construct a LuaError with a specific message.
LuaError(String, int) - Constructor for exception org.luaj.vm2.LuaError
Construct a LuaError with a message, and level to draw line number information from.
LuaFunction - Class in org.luaj.vm2
Base class for functions implemented in Java.
LuaFunction() - Constructor for class org.luaj.vm2.LuaFunction
 
LuaFunction(LuaValue) - Constructor for class org.luaj.vm2.LuaFunction
 
LuaInteger - Class in org.luaj.vm2
Extension of LuaNumber which can hold a Java int as its value.
LuajavaLib - Class in org.luaj.vm2.lib.jse
Subclass of LibFunction which implements the features of the luajava package.
LuajavaLib() - Constructor for class org.luaj.vm2.lib.jse.LuajavaLib
 
LuaJC - Class in org.luaj.vm2.luajc
Implementation of LoadState.LuaCompiler which does direct lua-to-java-bytecode compiling.
LuaJC() - Constructor for class org.luaj.vm2.luajc.LuaJC
 
LuaNil - Class in org.luaj.vm2
Class to encapsulate behavior of the singleton instance nil
LuaNumber - Class in org.luaj.vm2
Base class for representing numbers as lua values directly.
LuaNumber() - Constructor for class org.luaj.vm2.LuaNumber
 
luaP_opmodes - Static variable in class org.luaj.vm2.Lua
 
LuaString - Class in org.luaj.vm2
Subclass of LuaValue for representing lua strings.
LuaTable - Class in org.luaj.vm2
Subclass of LuaValue for representing lua tables.
LuaTable() - Constructor for class org.luaj.vm2.LuaTable
Construct empty table
LuaTable(int, int) - Constructor for class org.luaj.vm2.LuaTable
Construct table with preset capacity.
LuaTable(LuaValue[], LuaValue[], Varargs) - Constructor for class org.luaj.vm2.LuaTable
Construct table with named and unnamed parts.
LuaTable(Varargs) - Constructor for class org.luaj.vm2.LuaTable
Construct table of unnamed elements.
LuaTable(Varargs, int) - Constructor for class org.luaj.vm2.LuaTable
Construct table of unnamed elements.
LuaThread - Class in org.luaj.vm2
Subclass of LuaValue that implements a lua coroutine thread using Java Threads.
LuaThread(LuaValue, LuaValue) - Constructor for class org.luaj.vm2.LuaThread
Create a LuaThread around a function and environment
LuaThread.CallStack - Class in org.luaj.vm2
 
LuaThread.CallStack() - Constructor for class org.luaj.vm2.LuaThread.CallStack
 
LuaUserdata - Class in org.luaj.vm2
 
LuaUserdata(Object) - Constructor for class org.luaj.vm2.LuaUserdata
 
LuaUserdata(Object, LuaValue) - Constructor for class org.luaj.vm2.LuaUserdata
 
LuaValue - Class in org.luaj.vm2
Base class for all concrete lua type values.
LuaValue() - Constructor for class org.luaj.vm2.LuaValue
 

M

m_bytes - Variable in class org.luaj.vm2.LuaString
The bytes for the string
m_instance - Variable in class org.luaj.vm2.LuaUserdata
 
m_length - Variable in class org.luaj.vm2.LuaString
The number of bytes that comprise this string
m_metatable - Variable in class org.luaj.vm2.LuaTable
metatable for this table, or null
m_metatable - Variable in class org.luaj.vm2.LuaUserdata
 
m_offset - Variable in class org.luaj.vm2.LuaString
The offset into the byte array, 0 means start at the first byte
makeroom(int, int) - Method in class org.luaj.vm2.Buffer
Ensure there is enough room before and after the bytes.
MASK_A - Static variable in class org.luaj.vm2.Lua
 
MASK_B - Static variable in class org.luaj.vm2.Lua
 
MASK_Bx - Static variable in class org.luaj.vm2.Lua
 
MASK_C - Static variable in class org.luaj.vm2.Lua
 
MASK_NOT_A - Static variable in class org.luaj.vm2.Lua
 
MASK_NOT_B - Static variable in class org.luaj.vm2.Lua
 
MASK_NOT_Bx - Static variable in class org.luaj.vm2.Lua
 
MASK_NOT_C - Static variable in class org.luaj.vm2.Lua
 
MASK_NOT_OP - Static variable in class org.luaj.vm2.Lua
 
MASK_OP - Static variable in class org.luaj.vm2.Lua
 
MathLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard math library.
MathLib() - Constructor for class org.luaj.vm2.lib.MathLib
 
MATHLIB - Static variable in class org.luaj.vm2.lib.MathLib
 
MAX_CALLSTACK - Static variable in class org.luaj.vm2.LuaThread
 
MAX_OP - Static variable in class org.luaj.vm2.Lua
 
MAXARG_A - Static variable in class org.luaj.vm2.Lua
 
MAXARG_B - Static variable in class org.luaj.vm2.Lua
 
MAXARG_Bx - Static variable in class org.luaj.vm2.Lua
 
MAXARG_C - Static variable in class org.luaj.vm2.Lua
 
MAXARG_sBx - Static variable in class org.luaj.vm2.Lua
 
MAXINDEXRK - Static variable in class org.luaj.vm2.Lua
 
maxn() - Method in class org.luaj.vm2.LuaTable
Return table.maxn() as defined by lua 5.0.
maxn() - Method in class org.luaj.vm2.WeakTable
 
MAXSTACK - Static variable in class org.luaj.vm2.compiler.LuaC
 
maxstacksize - Variable in class org.luaj.vm2.Prototype
 
METATABLE - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__metatable" for use as metatag
metatag(LuaValue) - Method in class org.luaj.vm2.LuaValue
Get particular metatag, or return LuaValue.NIL if it doesn't exist
method(String) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 0 arguments, including metatag processing, and return only the first return value.
method(LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 0 arguments, including metatag processing, and return only the first return value.
method(String, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 1 argument, including metatag processing, and return only the first return value.
method(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 1 argument, including metatag processing, and return only the first return value.
method(String, LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
method(LuaValue, LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Call named method on this with 2 arguments, including metatag processing, and return only the first return value.
MINUSONE - Static variable in class org.luaj.vm2.LuaValue
LuaValue number constant equal to -1
mod(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
mod(double) - Method in class org.luaj.vm2.LuaDouble
 
mod(int) - Method in class org.luaj.vm2.LuaDouble
 
mod(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
mod(double) - Method in class org.luaj.vm2.LuaInteger
 
mod(int) - Method in class org.luaj.vm2.LuaInteger
 
mod(LuaValue) - Method in class org.luaj.vm2.LuaString
 
mod(double) - Method in class org.luaj.vm2.LuaString
 
mod(int) - Method in class org.luaj.vm2.LuaString
 
MOD - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__mod" for use as metatag
mod(LuaValue) - Method in class org.luaj.vm2.LuaValue
Modulo: Perform numeric modulo operation with another value of unknown type, including metatag processing.
mod(double) - Method in class org.luaj.vm2.LuaValue
Modulo: Perform numeric modulo operation with another value of double type without metatag processing
mod(int) - Method in class org.luaj.vm2.LuaValue
Modulo: Perform numeric modulo operation with another value of int type without metatag processing
MODE - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__mode" for use as metatag
modFrom(double) - Method in class org.luaj.vm2.LuaDouble
 
modFrom(double) - Method in class org.luaj.vm2.LuaInteger
 
modFrom(double) - Method in class org.luaj.vm2.LuaString
 
modFrom(double) - Method in class org.luaj.vm2.LuaValue
Reverse-modulo: Perform numeric modulo operation from another value with metatag processing
module(Varargs) - Method in class org.luaj.vm2.lib.PackageLib
module (name [, ...]) Creates a module.
mul(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
mul(double) - Method in class org.luaj.vm2.LuaDouble
 
mul(int) - Method in class org.luaj.vm2.LuaDouble
 
mul(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
mul(double) - Method in class org.luaj.vm2.LuaInteger
 
mul(int) - Method in class org.luaj.vm2.LuaInteger
 
mul(LuaValue) - Method in class org.luaj.vm2.LuaString
 
mul(double) - Method in class org.luaj.vm2.LuaString
 
mul(int) - Method in class org.luaj.vm2.LuaString
 
MUL - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__mul" for use as metatag
mul(LuaValue) - Method in class org.luaj.vm2.LuaValue
Multiply: Perform numeric multiply operation with another value of unknown type, including metatag processing.
mul(double) - Method in class org.luaj.vm2.LuaValue
Multiply: Perform numeric multiply operation with another value of double type with metatag processing
mul(int) - Method in class org.luaj.vm2.LuaValue
Multiply: Perform numeric multiply operation with another value of int type with metatag processing

N

name - Variable in class org.luaj.vm2.lib.LibFunction
The common name for this function, useful for debugging.
NAN - Static variable in class org.luaj.vm2.LuaDouble
Constant LuaDouble representing NaN (not a number)
narg() - Method in class org.luaj.vm2.LuaValue
 
narg() - Method in class org.luaj.vm2.TailcallVarargs
 
narg() - Method in class org.luaj.vm2.Varargs
Get the number of arguments, or 0 if there are none.
nCcalls - Variable in class org.luaj.vm2.compiler.LuaC
 
neg() - Method in class org.luaj.vm2.LuaDouble
 
neg() - Method in class org.luaj.vm2.LuaInteger
 
neg() - Method in class org.luaj.vm2.LuaString
 
neg() - Method in class org.luaj.vm2.LuaValue
Unary minus: return negative value (-this) as defined by lua unary minus operator
NEGINF - Static variable in class org.luaj.vm2.LuaDouble
Constant LuaDouble representing negative infinity
neq(LuaValue) - Method in class org.luaj.vm2.LuaValue
Notquals: Perform inequality comparison with another value including metatag processing using EQ.
neq_b(LuaValue) - Method in class org.luaj.vm2.LuaValue
Notquals: Perform inequality comparison with another value including metatag processing using EQ.
NEWINDEX - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__newindex" for use as metatag
newTString(byte[], int, int) - Method in class org.luaj.vm2.compiler.LuaC
 
newupe() - Static method in class org.luaj.vm2.lib.LibFunction
Java code generation utility to allocate storage for upvalue, leave it empty
newupl(LuaValue) - Static method in class org.luaj.vm2.lib.LibFunction
Java code generation utility to allocate storage for upvalue, initialize with value
newupn() - Static method in class org.luaj.vm2.lib.LibFunction
Java code generation utility to allocate storage for upvalue, initialize with nil
next(LuaValue) - Method in class org.luaj.vm2.LuaTable
Get the next element after a particular key in the table
next(LuaValue) - Method in class org.luaj.vm2.LuaValue
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.
next(LuaValue) - Method in class org.luaj.vm2.WeakTable
Get the next element after a particular key in the table
NIL - Static variable in class org.luaj.vm2.LuaValue
LuaValue constant corresponding to lua nil
NILS - Static variable in class org.luaj.vm2.LuaValue
Array of NIL values to optimize filling stacks using System.arraycopy().
NO_REG - Static variable in class org.luaj.vm2.Lua
invalid register that fits in 8 bits
NONE - Static variable in class org.luaj.vm2.LuaValue
LuaValue constant corresponding to a Varargs list of no values
not() - Method in class org.luaj.vm2.LuaBoolean
 
not() - Method in class org.luaj.vm2.LuaNil
 
not() - Method in class org.luaj.vm2.LuaValue
Unary not: return inverse boolean value (~this) as defined by lua not operator
NOVALS - Static variable in class org.luaj.vm2.LuaValue
LuaValue array constant with no values
NUM_OPCODES - Static variable in class org.luaj.vm2.Lua
 
NUMBER_FORMAT_FLOATS_OR_DOUBLES - Static variable in class org.luaj.vm2.LoadState
format corresponding to non-number-patched lua, all numbers are floats or doubles
NUMBER_FORMAT_INTS_ONLY - Static variable in class org.luaj.vm2.LoadState
format corresponding to non-number-patched lua, all numbers are ints
NUMBER_FORMAT_NUM_PATCH_INT32 - Static variable in class org.luaj.vm2.LoadState
format corresponding to number-patched lua, all numbers are 32-bit (4 byte) ints
numparams - Variable in class org.luaj.vm2.Prototype
 
nups - Variable in class org.luaj.vm2.Prototype
 

O

onCall(LuaFunction) - Static method in class org.luaj.vm2.LuaThread
Callback used at the beginning of a call to prepare for possible getfenv/setfenv calls
ONE - Static variable in class org.luaj.vm2.LuaValue
LuaValue number constant equal to 1
OneArgFunction - Class in org.luaj.vm2.lib
Abstract base class for Java function implementations that take one argument and return one value.
OneArgFunction() - Constructor for class org.luaj.vm2.lib.OneArgFunction
Default constructor
OneArgFunction(LuaValue) - Constructor for class org.luaj.vm2.lib.OneArgFunction
Constructor with specific environment
onInvoke(Varargs) - Method in class org.luaj.vm2.lib.VarArgFunction
Override to provide a call implementation that runs in an environment that can participate in setfenv, and behaves as expected when returning TailcallVarargs.
onInvoke(Varargs) - Method in class org.luaj.vm2.LuaClosure
 
onInvoke(Varargs) - Method in class org.luaj.vm2.LuaValue
Callback used during tail call processing to invoke the function once.
onReturn() - Method in class org.luaj.vm2.LuaThread.CallStack
Method to signal the end of a call
OP_ADD - Static variable in class org.luaj.vm2.Lua
 
OP_AND - Static variable in class org.luaj.vm2.Lua
 
OP_CALL - Static variable in class org.luaj.vm2.Lua
 
OP_CLOSE - Static variable in class org.luaj.vm2.Lua
 
OP_CLOSURE - Static variable in class org.luaj.vm2.Lua
 
OP_CONCAT - Static variable in class org.luaj.vm2.Lua
 
OP_DIV - Static variable in class org.luaj.vm2.Lua
 
OP_EQ - Static variable in class org.luaj.vm2.Lua
 
OP_FORLOOP - Static variable in class org.luaj.vm2.Lua
 
OP_FORPREP - Static variable in class org.luaj.vm2.Lua
 
OP_GE - Static variable in class org.luaj.vm2.Lua
 
OP_GETGLOBAL - Static variable in class org.luaj.vm2.Lua
 
OP_GETTABLE - Static variable in class org.luaj.vm2.Lua
 
OP_GETUPVAL - Static variable in class org.luaj.vm2.Lua
 
OP_GT - Static variable in class org.luaj.vm2.Lua
 
OP_JMP - Static variable in class org.luaj.vm2.Lua
 
OP_LE - Static variable in class org.luaj.vm2.Lua
 
OP_LEN - Static variable in class org.luaj.vm2.Lua
 
OP_LOADBOOL - Static variable in class org.luaj.vm2.Lua
 
OP_LOADK - Static variable in class org.luaj.vm2.Lua
 
OP_LOADNIL - Static variable in class org.luaj.vm2.Lua
 
OP_LT - Static variable in class org.luaj.vm2.Lua
 
OP_MOD - Static variable in class org.luaj.vm2.Lua
 
OP_MOVE - Static variable in class org.luaj.vm2.Lua
 
OP_MUL - Static variable in class org.luaj.vm2.Lua
 
OP_NEQ - Static variable in class org.luaj.vm2.Lua
 
OP_NEWTABLE - Static variable in class org.luaj.vm2.Lua
 
OP_NOT - Static variable in class org.luaj.vm2.Lua
 
OP_OR - Static variable in class org.luaj.vm2.Lua
 
OP_POW - Static variable in class org.luaj.vm2.Lua
 
OP_RETURN - Static variable in class org.luaj.vm2.Lua
 
OP_SELF - Static variable in class org.luaj.vm2.Lua
 
OP_SETGLOBAL - Static variable in class org.luaj.vm2.Lua
 
OP_SETLIST - Static variable in class org.luaj.vm2.Lua
 
OP_SETTABLE - Static variable in class org.luaj.vm2.Lua
 
OP_SETUPVAL - Static variable in class org.luaj.vm2.Lua
 
OP_SUB - Static variable in class org.luaj.vm2.Lua
 
OP_TAILCALL - Static variable in class org.luaj.vm2.Lua
 
OP_TEST - Static variable in class org.luaj.vm2.Lua
 
OP_TESTSET - Static variable in class org.luaj.vm2.Lua
 
OP_TFORLOOP - Static variable in class org.luaj.vm2.Lua
 
OP_UNM - Static variable in class org.luaj.vm2.Lua
 
OP_VARARG - Static variable in class org.luaj.vm2.Lua
 
OpArgK - Static variable in class org.luaj.vm2.Lua
 
OpArgN - Static variable in class org.luaj.vm2.Lua
 
OpArgR - Static variable in class org.luaj.vm2.Lua
 
OpArgU - Static variable in class org.luaj.vm2.Lua
 
opcode - Variable in class org.luaj.vm2.lib.LibFunction
User-defined opcode to differentiate between instances of the library function class.
openFile(String, boolean, boolean, boolean, boolean) - Method in class org.luaj.vm2.lib.IoLib
Open a file in a particular mode.
openFile(String, boolean, boolean, boolean, boolean) - Method in class org.luaj.vm2.lib.jme.JmeIoLib
 
openFile(String, boolean, boolean, boolean, boolean) - Method in class org.luaj.vm2.lib.jse.JseIoLib
 
openProgram(String, String) - Method in class org.luaj.vm2.lib.IoLib
Start a new process and return a file for input or output
openProgram(String, String) - Method in class org.luaj.vm2.lib.jme.JmeIoLib
 
openProgram(String, String) - Method in class org.luaj.vm2.lib.jse.JseIoLib
 
OPNAMES - Static variable in class org.luaj.vm2.Print
 
optboolean(boolean) - Method in class org.luaj.vm2.LuaBoolean
 
optboolean(boolean) - Method in class org.luaj.vm2.LuaNil
 
optboolean(boolean) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a boolean and return its boolean value
optboolean(int, boolean) - Method in class org.luaj.vm2.Varargs
Return argument i as a boolean value, defval if nil, or throw a LuaError if any other type.
optclosure(LuaClosure) - Method in class org.luaj.vm2.LuaClosure
 
optclosure(LuaClosure) - Method in class org.luaj.vm2.LuaNil
 
optclosure(LuaClosure) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a closure and return as LuaClosure
optclosure(int, LuaClosure) - Method in class org.luaj.vm2.Varargs
Return argument i as a closure, defval if nil, or throw a LuaError if any other type.
optdouble(double) - Method in class org.luaj.vm2.LuaDouble
 
optdouble(double) - Method in class org.luaj.vm2.LuaInteger
 
optdouble(double) - Method in class org.luaj.vm2.LuaNil
 
optdouble(double) - Method in class org.luaj.vm2.LuaString
 
optdouble(double) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a number or string convertible to number and return as double
optdouble(int, double) - Method in class org.luaj.vm2.Varargs
Return argument i as a double, defval if nil, or throw a LuaError if it cannot be converted to one.
optfunction(LuaFunction) - Method in class org.luaj.vm2.LuaFunction
 
optfunction(LuaFunction) - Method in class org.luaj.vm2.LuaNil
 
optfunction(LuaFunction) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a function and return as LuaFunction
optfunction(int, LuaFunction) - Method in class org.luaj.vm2.Varargs
Return argument i as a function, defval if nil, or throw a LuaError if an incompatible type.
optint(int) - Method in class org.luaj.vm2.LuaDouble
 
optint(int) - Method in class org.luaj.vm2.LuaInteger
 
optint(int) - Method in class org.luaj.vm2.LuaNil
 
optint(int) - Method in class org.luaj.vm2.LuaString
 
optint(int) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a number or string convertible to number and return as int
optint(int, int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java int value, discarding any fractional part, defval if nil, or throw a LuaError if not a number.
optinteger(LuaInteger) - Method in class org.luaj.vm2.LuaDouble
 
optinteger(LuaInteger) - Method in class org.luaj.vm2.LuaInteger
 
optinteger(LuaInteger) - Method in class org.luaj.vm2.LuaNil
 
optinteger(LuaInteger) - Method in class org.luaj.vm2.LuaString
 
optinteger(LuaInteger) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a number or string convertible to number and return as LuaInteger
optinteger(int, LuaInteger) - Method in class org.luaj.vm2.Varargs
Return argument i as a java int value, defval if nil, or throw a LuaError if not a number or is not representable by a java int.
optjstring(String) - Method in class org.luaj.vm2.LuaDouble
 
optjstring(String) - Method in class org.luaj.vm2.LuaInteger
 
optjstring(String) - Method in class org.luaj.vm2.LuaNil
 
optjstring(String) - Method in class org.luaj.vm2.LuaString
 
optjstring(String) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a string or number and return as Java String
optjstring(int, String) - Method in class org.luaj.vm2.Varargs
Return argument i as a java String if a string or number, defval if nil, or throw a LuaError if any other type
optlong(long) - Method in class org.luaj.vm2.LuaDouble
 
optlong(long) - Method in class org.luaj.vm2.LuaInteger
 
optlong(long) - Method in class org.luaj.vm2.LuaNil
 
optlong(long) - Method in class org.luaj.vm2.LuaString
 
optlong(long) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a number or string convertible to number and return as long
optlong(int, long) - Method in class org.luaj.vm2.Varargs
Return argument i as a java long value, discarding any fractional part, defval if nil, or throw a LuaError if not a number.
optnumber(LuaNumber) - Method in class org.luaj.vm2.LuaDouble
 
optnumber(LuaNumber) - Method in class org.luaj.vm2.LuaNil
 
optnumber(LuaNumber) - Method in class org.luaj.vm2.LuaNumber
 
optnumber(LuaNumber) - Method in class org.luaj.vm2.LuaString
 
optnumber(LuaNumber) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a number or string convertible to number and return as LuaNumber
optnumber(int, LuaNumber) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaNumber, defval if nil, or throw a LuaError if not a number or string that can be converted to a number.
optstring(LuaString) - Method in class org.luaj.vm2.LuaDouble
 
optstring(LuaString) - Method in class org.luaj.vm2.LuaInteger
 
optstring(LuaString) - Method in class org.luaj.vm2.LuaNil
 
optstring(LuaString) - Method in class org.luaj.vm2.LuaString
 
optstring(LuaString) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a string or number and return as LuaString
optstring(int, LuaString) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaString if a string or number, defval if nil, or throw a LuaError if any other type
opttable(LuaTable) - Method in class org.luaj.vm2.LuaNil
 
opttable(LuaTable) - Method in class org.luaj.vm2.LuaTable
 
opttable(LuaTable) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a table and return as LuaTable
opttable(int, LuaTable) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaTable if a lua table, defval if nil, or throw a LuaError if any other type.
optthread(LuaThread) - Method in class org.luaj.vm2.LuaNil
 
optthread(LuaThread) - Method in class org.luaj.vm2.LuaThread
 
optthread(LuaThread) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a thread and return as LuaThread
optthread(int, LuaThread) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaThread if a lua thread, defval if nil, or throw a LuaError if any other type.
optuserdata(Object) - Method in class org.luaj.vm2.LuaNil
 
optuserdata(Class, Object) - Method in class org.luaj.vm2.LuaNil
 
optuserdata(Object) - Method in class org.luaj.vm2.LuaUserdata
 
optuserdata(Class, Object) - Method in class org.luaj.vm2.LuaUserdata
 
optuserdata(Object) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a userdata and return the Object instance
optuserdata(Class, Object) - Method in class org.luaj.vm2.LuaValue
Check that optional argument is a userdata whose instance is of a type and return the Object instance
optuserdata(int, Object) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if a userdata, defval if nil, or throw a LuaError if any other type.
optuserdata(int, Class, Object) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if it is a userdata whose instance Class c or a subclass, defval if nil, or throw a LuaError if any other type.
optvalue(LuaValue) - Method in class org.luaj.vm2.LuaNil
 
optvalue(LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform argument check that this is not nil or none.
optvalue(int, LuaValue) - Method in class org.luaj.vm2.Varargs
Return argument i as a LuaValue if it exists, or defval.
or(LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform boolean or with another operand, based on lua rules for boolean evaluation.
org.luaj.vm2 - package org.luaj.vm2
 
org.luaj.vm2.compiler - package org.luaj.vm2.compiler
 
org.luaj.vm2.lib - package org.luaj.vm2.lib
 
org.luaj.vm2.lib.jme - package org.luaj.vm2.lib.jme
 
org.luaj.vm2.lib.jse - package org.luaj.vm2.lib.jse
 
org.luaj.vm2.luajc - package org.luaj.vm2.luajc
 
OrphanedThread - Error in org.luaj.vm2
Error sublcass that indicates a lua thread that is no longer referenced has been detected.
OrphanedThread() - Constructor for error org.luaj.vm2.OrphanedThread
 
OsLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the standard lua os library.
OsLib() - Constructor for class org.luaj.vm2.lib.OsLib
Create and OsLib instance.

P

p - Variable in class org.luaj.vm2.LuaClosure
 
p - Variable in class org.luaj.vm2.Prototype
 
PACKAGE - Variable in class org.luaj.vm2.lib.PackageLib
 
PackageLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard package and module library functions.
PackageLib() - Constructor for class org.luaj.vm2.lib.PackageLib
 
pcall(LuaValue, Varargs, LuaValue) - Static method in class org.luaj.vm2.lib.BaseLib
 
peek() - Method in class org.luaj.vm2.lib.IoLib.File
 
POS_A - Static variable in class org.luaj.vm2.Lua
 
POS_B - Static variable in class org.luaj.vm2.Lua
 
POS_Bx - Static variable in class org.luaj.vm2.Lua
 
POS_C - Static variable in class org.luaj.vm2.Lua
 
POS_OP - Static variable in class org.luaj.vm2.Lua
 
POSINF - Static variable in class org.luaj.vm2.LuaDouble
Constant LuaDouble representing positive infinity
pow(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
pow(double) - Method in class org.luaj.vm2.LuaDouble
 
pow(int) - Method in class org.luaj.vm2.LuaDouble
 
pow(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
pow(double) - Method in class org.luaj.vm2.LuaInteger
 
pow(int) - Method in class org.luaj.vm2.LuaInteger
 
pow(LuaValue) - Method in class org.luaj.vm2.LuaString
 
pow(double) - Method in class org.luaj.vm2.LuaString
 
pow(int) - Method in class org.luaj.vm2.LuaString
 
POW - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__pow" for use as metatag
pow(LuaValue) - Method in class org.luaj.vm2.LuaValue
Raise to power: Raise this value to a power including metatag processing.
pow(double) - Method in class org.luaj.vm2.LuaValue
Raise to power: Raise this value to a power of double type with metatag processing
pow(int) - Method in class org.luaj.vm2.LuaValue
Raise to power: Raise this value to a power of int type with metatag processing
powWith(double) - Method in class org.luaj.vm2.LuaDouble
 
powWith(int) - Method in class org.luaj.vm2.LuaDouble
 
powWith(double) - Method in class org.luaj.vm2.LuaInteger
 
powWith(int) - Method in class org.luaj.vm2.LuaInteger
 
powWith(double) - Method in class org.luaj.vm2.LuaString
 
powWith(int) - Method in class org.luaj.vm2.LuaString
 
powWith(double) - Method in class org.luaj.vm2.LuaValue
Reverse-raise to power: Raise another value of double type to this power with metatag processing
powWith(int) - Method in class org.luaj.vm2.LuaValue
Reverse-raise to power: Raise another value of double type to this power with metatag processing
preload_loader - Variable in class org.luaj.vm2.lib.PackageLib
Loader that loads from preload table if found there
prepend(LuaString) - Method in class org.luaj.vm2.Buffer
Concatenate bytes from a LuaString onto the front of this buffer
presize(int) - Method in class org.luaj.vm2.LuaTable
 
presize(int, int) - Method in class org.luaj.vm2.LuaTable
 
presize(int) - Method in class org.luaj.vm2.LuaValue
Preallocate the array part of a table to be a certain size,
presize(int) - Method in class org.luaj.vm2.WeakTable
 
presize(int, int) - Method in class org.luaj.vm2.WeakTable
Presize capacity of both array and hash parts.
Print - Class in org.luaj.vm2
Debug helper class to pretty-print lua bytecodes.
Print() - Constructor for class org.luaj.vm2.Print
 
print(Prototype) - Static method in class org.luaj.vm2.Print
 
printCode(Prototype) - Static method in class org.luaj.vm2.Print
Print the code in a prototype
printFunction(Prototype, boolean) - Static method in class org.luaj.vm2.Print
 
printOpCode(Prototype, int) - Static method in class org.luaj.vm2.Print
Print an opcode in a prototype
printOpCode(PrintStream, Prototype, int) - Static method in class org.luaj.vm2.Print
Print an opcode in a prototype
printStackTrace() - Method in exception org.luaj.vm2.LuaError
Print the message and stack trace
printState(LuaClosure, int, LuaValue[], int, Varargs) - Static method in class org.luaj.vm2.Print
Print the state of a LuaClosure that is being executed
Prototype - Class in org.luaj.vm2
Prototype representing compiled lua code.
Prototype() - Constructor for class org.luaj.vm2.Prototype
 
ps - Static variable in class org.luaj.vm2.Print
 
pushfstring(String) - Method in class org.luaj.vm2.compiler.LuaC
 

R

raweq(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
raweq(double) - Method in class org.luaj.vm2.LuaDouble
 
raweq(int) - Method in class org.luaj.vm2.LuaDouble
 
raweq(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
raweq(double) - Method in class org.luaj.vm2.LuaInteger
 
raweq(int) - Method in class org.luaj.vm2.LuaInteger
 
raweq(LuaValue) - Method in class org.luaj.vm2.LuaString
 
raweq(LuaString) - Method in class org.luaj.vm2.LuaString
 
raweq(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
raweq(LuaUserdata) - Method in class org.luaj.vm2.LuaUserdata
 
raweq(LuaValue) - Method in class org.luaj.vm2.LuaValue
Equals: Perform direct equality comparison with another value without metatag processing.
raweq(LuaUserdata) - Method in class org.luaj.vm2.LuaValue
Equals: Perform direct equality comparison with a LuaUserdata value without metatag processing.
raweq(LuaString) - Method in class org.luaj.vm2.LuaValue
Equals: Perform direct equality comparison with a LuaString value without metatag processing.
raweq(double) - Method in class org.luaj.vm2.LuaValue
Equals: Perform direct equality comparison with a double value without metatag processing.
raweq(int) - Method in class org.luaj.vm2.LuaValue
Equals: Perform direct equality comparison with a int value without metatag processing.
rawget(int) - Method in class org.luaj.vm2.LuaTable
 
rawget(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
rawget(LuaValue) - Method in class org.luaj.vm2.LuaValue
Get a value in a table without metatag processing.
rawget(int) - Method in class org.luaj.vm2.LuaValue
Get a value in a table without metatag processing.
rawget(String) - Method in class org.luaj.vm2.LuaValue
Get a value in a table without metatag processing.
rawget(int) - Method in class org.luaj.vm2.WeakTable
 
rawget(LuaValue) - Method in class org.luaj.vm2.WeakTable
 
rawset(int, LuaValue) - Method in class org.luaj.vm2.LuaTable
 
rawset(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaTable
caller must ensure key is not nil
rawset(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(int, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(int, String) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(String, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(String, double) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(String, int) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(String, String) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing.
rawset(int, LuaValue) - Method in class org.luaj.vm2.WeakTable
 
rawset(LuaValue, LuaValue) - Method in class org.luaj.vm2.WeakTable
 
rawsetlist(int, Varargs) - Method in class org.luaj.vm2.LuaValue
Set list values in a table without invoking metatag processing
read() - Method in class org.luaj.vm2.lib.IoLib.File
 
read(byte[], int, int) - Method in class org.luaj.vm2.lib.IoLib.File
 
remaining() - Method in class org.luaj.vm2.lib.IoLib.File
 
remove(String) - Method in class org.luaj.vm2.lib.jse.JseOsLib
 
remove(String) - Method in class org.luaj.vm2.lib.OsLib
Deletes the file or directory with the given name.
remove(int) - Method in class org.luaj.vm2.LuaTable
Remove the element at a position in a list-table
rename(String, String) - Method in class org.luaj.vm2.lib.jse.JseOsLib
 
rename(String, String) - Method in class org.luaj.vm2.lib.OsLib
Renames file or directory named oldname to newname.
require(LuaValue) - Method in class org.luaj.vm2.lib.PackageLib
require (modname) Loads the given module.
ResourceFinder - Interface in org.luaj.vm2.lib
Interface for opening application resource files such as scripts sources.
resume(Varargs) - Method in class org.luaj.vm2.LuaThread
Start or resume this thread
RKASK(int) - Static method in class org.luaj.vm2.Lua
code a constant index as a RK value

S

s_metatable - Static variable in class org.luaj.vm2.LuaBoolean
Shared static metatable for boolean values represented in lua.
s_metatable - Static variable in class org.luaj.vm2.LuaFunction
Shared static metatable for all functions and closures.
s_metatable - Static variable in class org.luaj.vm2.LuaNil
 
s_metatable - Static variable in class org.luaj.vm2.LuaNumber
Shared static metatable for all number values represented in lua.
s_metatable - Static variable in class org.luaj.vm2.LuaString
The singleton instance representing lua true
s_metatable - Static variable in class org.luaj.vm2.LuaThread
 
scannumber(int) - Method in class org.luaj.vm2.LuaString
Convert to a number in a base, or return Double.NaN if not a number.
seek(String, int) - Method in class org.luaj.vm2.lib.IoLib.File
 
set(int, LuaValue) - Method in class org.luaj.vm2.LuaTable
 
set(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaTable
caller must ensure key is not nil
set(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
set(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(int, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(int, String) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(String, LuaValue) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(String, double) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(String, int) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
set(String, String) - Method in class org.luaj.vm2.LuaValue
Set a value in a table without metatag processing using NEWINDEX.
setErrorFunc(LuaValue) - Static method in class org.luaj.vm2.LuaThread
Replace the error function of the currently running thread.
setfenv(LuaValue) - Method in class org.luaj.vm2.LuaFunction
 
setfenv(LuaValue) - Method in class org.luaj.vm2.LuaThread
 
setfenv(LuaValue) - Method in class org.luaj.vm2.LuaValue
Set the environment on an object.
setGlobals(LuaValue) - Static method in class org.luaj.vm2.LuaThread
Set the globals of the current thread.
setIsLoaded(String, LuaTable) - Method in class org.luaj.vm2.lib.PackageLib
Allow packages to mark themselves as loaded
setlocale(String, String) - Method in class org.luaj.vm2.lib.OsLib
Sets the current locale of the program.
setLuaPath(String) - Method in class org.luaj.vm2.lib.PackageLib
 
setmetatable(LuaValue) - Method in class org.luaj.vm2.LuaTable
 
setmetatable(LuaValue) - Method in class org.luaj.vm2.LuaUserdata
 
setmetatable(LuaValue) - Method in class org.luaj.vm2.LuaValue
Set the metatable for this LuaValue
settable(LuaValue, LuaValue, LuaValue) - Static method in class org.luaj.vm2.LuaValue
Perform field assignment including metatag processing.
setUpvalue(int, LuaValue) - Method in class org.luaj.vm2.LuaClosure
 
setvalue(LuaValue) - Method in class org.luaj.vm2.Buffer
Set buffer contents as a LuaValue
setValue(LuaValue) - Method in class org.luaj.vm2.UpValue
Set the value of the upvalue
setvbuf(String, int) - Method in class org.luaj.vm2.lib.IoLib.File
 
SIZE_A - Static variable in class org.luaj.vm2.Lua
 
SIZE_B - Static variable in class org.luaj.vm2.Lua
 
SIZE_Bx - Static variable in class org.luaj.vm2.Lua
 
SIZE_C - Static variable in class org.luaj.vm2.Lua
 
SIZE_OP - Static variable in class org.luaj.vm2.Lua
 
sort(LuaValue) - Method in class org.luaj.vm2.LuaTable
Sort the table using a comparator.
sort(LuaValue) - Method in class org.luaj.vm2.WeakTable
 
source - Variable in class org.luaj.vm2.Prototype
 
SOURCE_BINARY_STRING - Static variable in class org.luaj.vm2.LoadState
Name for compiled chunks
sourceshort(Prototype) - Static method in class org.luaj.vm2.lib.DebugLib
 
standardGlobals() - Static method in class org.luaj.vm2.lib.jme.JmePlatform
Create a standard set of globals for JME including all the libraries.
standardGlobals() - Static method in class org.luaj.vm2.lib.jse.JsePlatform
Create a standard set of globals for JSE including all the libraries.
startpc - Variable in class org.luaj.vm2.LocVars
The instruction offset when the variable comes into scope
STDERR - Variable in class org.luaj.vm2.lib.BaseLib
 
STDIN - Variable in class org.luaj.vm2.lib.BaseLib
 
STDIN - Variable in class org.luaj.vm2.lib.PackageLib
 
STDOUT - Variable in class org.luaj.vm2.lib.BaseLib
 
STDOUT - Variable in class org.luaj.vm2.lib.PackageLib
 
strcmp(LuaString) - Method in class org.luaj.vm2.LuaDouble
 
strcmp(LuaString) - Method in class org.luaj.vm2.LuaInteger
 
strcmp(LuaValue) - Method in class org.luaj.vm2.LuaString
 
strcmp(LuaString) - Method in class org.luaj.vm2.LuaString
 
strcmp(LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform string comparison with another value of any type using string comparison based on byte values.
strcmp(LuaString) - Method in class org.luaj.vm2.LuaValue
Perform string comparison with another value known to be a LuaString using string comparison based on byte values.
StringLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard string library.
StringLib() - Constructor for class org.luaj.vm2.lib.StringLib
 
strongkey() - Method in class org.luaj.vm2.LuaValue
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.
strongvalue() - Method in class org.luaj.vm2.LuaValue
Return this value as a strong reference, or NIL if it was weak and is no longer referenced.
strvalue() - Method in class org.luaj.vm2.LuaDouble
 
strvalue() - Method in class org.luaj.vm2.LuaInteger
 
strvalue() - Method in class org.luaj.vm2.LuaString
 
strvalue() - Method in class org.luaj.vm2.LuaValue
Convert this value to a string if it is a LuaString or LuaNumber, or throw a LuaError if it is not
sub(LuaValue) - Method in class org.luaj.vm2.LuaDouble
 
sub(double) - Method in class org.luaj.vm2.LuaDouble
 
sub(int) - Method in class org.luaj.vm2.LuaDouble
 
sub(LuaValue) - Method in class org.luaj.vm2.LuaInteger
 
sub(double) - Method in class org.luaj.vm2.LuaInteger
 
sub(int) - Method in class org.luaj.vm2.LuaInteger
 
sub(LuaValue) - Method in class org.luaj.vm2.LuaString
 
sub(double) - Method in class org.luaj.vm2.LuaString
 
sub(int) - Method in class org.luaj.vm2.LuaString
 
SUB - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__sub" for use as metatag
sub(LuaValue) - Method in class org.luaj.vm2.LuaValue
Subtract: Perform numeric subtract operation with another value of unknown type, including metatag processing.
sub(double) - Method in class org.luaj.vm2.LuaValue
Subtract: Perform numeric subtract operation with another value of double type with metatag processing
sub(int) - Method in class org.luaj.vm2.LuaValue
Subtract: Perform numeric subtract operation with another value of int type with metatag processing
subargs(int) - Method in class org.luaj.vm2.Varargs
Create a Varargs instance containing arguments starting at index start
subFrom(double) - Method in class org.luaj.vm2.LuaDouble
 
subFrom(double) - Method in class org.luaj.vm2.LuaInteger
 
subFrom(int) - Method in class org.luaj.vm2.LuaInteger
 
subFrom(double) - Method in class org.luaj.vm2.LuaString
 
subFrom(double) - Method in class org.luaj.vm2.LuaValue
Reverse-subtract: Perform numeric subtract operation from an int value with metatag processing
subFrom(int) - Method in class org.luaj.vm2.LuaValue
Reverse-subtract: Perform numeric subtract operation from a double value without metatag processing
substring(int, int) - Method in class org.luaj.vm2.LuaString
 

T

TableLib - Class in org.luaj.vm2.lib
Subclass of LibFunction which implements the lua standard table library.
TableLib() - Constructor for class org.luaj.vm2.lib.TableLib
 
tableOf() - Static method in class org.luaj.vm2.LuaValue
Construct an empty LuaTable.
tableOf(Varargs, int) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied array values.
tableOf(int, int) - Static method in class org.luaj.vm2.LuaValue
Construct an empty LuaTable preallocated to hold array and hashed elements
tableOf(LuaValue[]) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied named values.
tableOf(LuaValue[], LuaValue[]) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied named values and sequential elements.
tableOf(LuaValue[], LuaValue[], Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaTable initialized with supplied named values and sequential elements in an array part and as varargs.
tailcallOf(LuaValue, Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a TailcallVarargs around a function and arguments.
TailcallVarargs - Class in org.luaj.vm2
Subclass of Varargs that represents a lua tail call in a Java library function execution environment.
TailcallVarargs(LuaValue, Varargs) - Constructor for class org.luaj.vm2.TailcallVarargs
 
TailcallVarargs(LuaValue, LuaValue, Varargs) - Constructor for class org.luaj.vm2.TailcallVarargs
 
TBOOLEAN - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua booleans
testAMode(int) - Static method in class org.luaj.vm2.Lua
 
testfor_b(LuaValue, LuaValue) - Method in class org.luaj.vm2.LuaValue
Perform end-condition test in for-loop processing.
testTMode(int) - Static method in class org.luaj.vm2.Lua
 
TFUNCTION - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua functions
ThreeArgFunction - Class in org.luaj.vm2.lib
Abstract base class for Java function implementations that take two arguments and return one value.
ThreeArgFunction() - Constructor for class org.luaj.vm2.lib.ThreeArgFunction
Default constructor
ThreeArgFunction(LuaValue) - Constructor for class org.luaj.vm2.lib.ThreeArgFunction
Constructor with specific environment
time(LuaTable) - Method in class org.luaj.vm2.lib.OsLib
Returns the current time when called without arguments, or a time representing the date and time specified by the given table.
TINT - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua numbers that are ints, for compatibility with lua 5.1 number patch only
TLIGHTUSERDATA - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua light userdata, for compatibility with C-based lua only
TMP_PREFIX - Static variable in class org.luaj.vm2.lib.OsLib
 
TMP_SUFFIX - Static variable in class org.luaj.vm2.lib.OsLib
 
tmpFile() - Method in class org.luaj.vm2.lib.IoLib
Open a temporary file.
tmpFile() - Method in class org.luaj.vm2.lib.jme.JmeIoLib
 
tmpFile() - Method in class org.luaj.vm2.lib.jse.JseIoLib
 
tmpname() - Method in class org.luaj.vm2.lib.jse.JseOsLib
 
tmpname() - Method in class org.luaj.vm2.lib.OsLib
Returns a string with a file name that can be used for a temporary file.
TNIL - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua nil
TNONE - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua values that have no type, for example weak table entries
TNUMBER - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua numbers
toboolean() - Method in class org.luaj.vm2.LuaBoolean
 
toboolean() - Method in class org.luaj.vm2.LuaNil
 
toboolean() - Method in class org.luaj.vm2.LuaValue
Convert to boolean false if LuaValue.NIL or FALSE, true if anything else
toboolean(int) - Method in class org.luaj.vm2.Varargs
Convert argument i to java boolean based on lua rules for boolean evaluation.
tobyte() - Method in class org.luaj.vm2.LuaDouble
 
tobyte() - Method in class org.luaj.vm2.LuaInteger
 
tobyte() - Method in class org.luaj.vm2.LuaString
 
tobyte() - Method in class org.luaj.vm2.LuaValue
Convert to byte if numeric, or 0 if not.
tobyte(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java byte value, discarding any fractional part and truncating, or 0 if not a number.
tochar() - Method in class org.luaj.vm2.LuaDouble
 
tochar() - Method in class org.luaj.vm2.LuaInteger
 
tochar() - Method in class org.luaj.vm2.LuaString
 
tochar() - Method in class org.luaj.vm2.LuaValue
Convert to char if numeric, or 0 if not.
tochar(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java char value, discarding any fractional part and truncating, or 0 if not a number.
toClassname(String) - Static method in class org.luaj.vm2.lib.PackageLib
Convert lua filename to valid class name
todouble() - Method in class org.luaj.vm2.LuaDouble
 
todouble() - Method in class org.luaj.vm2.LuaInteger
 
todouble() - Method in class org.luaj.vm2.LuaString
 
todouble() - Method in class org.luaj.vm2.LuaValue
Convert to double if numeric, or 0 if not.
todouble(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java double value or 0 if not a number.
tofloat() - Method in class org.luaj.vm2.LuaDouble
 
tofloat() - Method in class org.luaj.vm2.LuaInteger
 
tofloat() - Method in class org.luaj.vm2.LuaString
 
tofloat() - Method in class org.luaj.vm2.LuaValue
Convert to float if numeric, or 0 if not.
tofloat(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java float value, discarding excess fractional part and truncating, or 0 if not a number.
toInputStream() - Method in class org.luaj.vm2.LuaString
Convert value to an input stream.
toint() - Method in class org.luaj.vm2.LuaDouble
 
toint() - Method in class org.luaj.vm2.LuaInteger
 
toint() - Method in class org.luaj.vm2.LuaString
 
toint() - Method in class org.luaj.vm2.LuaValue
Convert to int if numeric, or 0 if not.
toint(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java int value, discarding any fractional part and truncating, or 0 if not a number.
tojstring() - Method in class org.luaj.vm2.Buffer
Convert the buffer to a Java String
tojstring() - Method in class org.luaj.vm2.lib.IoLib.File
 
tojstring() - Method in class org.luaj.vm2.lib.LibFunction
 
tojstring() - Method in class org.luaj.vm2.lib.PackageLib
 
tojstring() - Method in class org.luaj.vm2.LocVars
 
tojstring() - Method in class org.luaj.vm2.LuaBoolean
 
tojstring() - Method in class org.luaj.vm2.LuaDouble
 
tojstring() - Method in class org.luaj.vm2.LuaInteger
 
tojstring() - Method in class org.luaj.vm2.LuaNil
 
tojstring() - Method in class org.luaj.vm2.LuaString
 
tojstring() - Method in class org.luaj.vm2.LuaUserdata
 
tojstring() - Method in class org.luaj.vm2.LuaValue
Convert to human readable String for any type.
tojstring() - Method in class org.luaj.vm2.UpValue
Convert this upvalue to a Java String
tojstring(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java String based on the type of the argument.
tojstring() - Method in class org.luaj.vm2.Varargs
Convert the list of varargs values to a human readable java String.
tolong() - Method in class org.luaj.vm2.LuaDouble
 
tolong() - Method in class org.luaj.vm2.LuaInteger
 
tolong() - Method in class org.luaj.vm2.LuaString
 
tolong() - Method in class org.luaj.vm2.LuaValue
Convert to long if numeric, or 0 if not.
tolong(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java long value, discarding any fractional part and truncating, or 0 if not a number.
tonumber() - Method in class org.luaj.vm2.LuaDouble
 
tonumber() - Method in class org.luaj.vm2.LuaNumber
 
tonumber() - Method in class org.luaj.vm2.LuaString
 
tonumber(int) - Method in class org.luaj.vm2.LuaString
convert to a number using a supplied base, or NIL if it can't be converted
tonumber() - Method in class org.luaj.vm2.LuaValue
Conditionally convert to lua number without throwing errors.
toshort() - Method in class org.luaj.vm2.LuaDouble
 
toshort() - Method in class org.luaj.vm2.LuaInteger
 
toshort() - Method in class org.luaj.vm2.LuaString
 
toshort() - Method in class org.luaj.vm2.LuaValue
Convert to short if numeric, or 0 if not.
toshort(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java short value, discarding any fractional part and truncating, or 0 if not a number.
tostring() - Method in class org.luaj.vm2.Buffer
Convert the buffer to a LuaString
toString() - Method in class org.luaj.vm2.Buffer
Convert the buffer to a Java String
tostring() - Method in class org.luaj.vm2.LuaDouble
 
tostring() - Method in class org.luaj.vm2.LuaInteger
 
tostring() - Method in class org.luaj.vm2.LuaString
 
TOSTRING - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__tostring" for use as metatag
toString() - Method in class org.luaj.vm2.LuaValue
Convert the value to a human readable string using LuaValue.tojstring()
tostring() - Method in class org.luaj.vm2.LuaValue
Conditionally convert to lua string without throwing errors.
toString() - Method in class org.luaj.vm2.Prototype
 
toString() - Method in class org.luaj.vm2.Varargs
Convert the value or values to a java String using Varargs.tojstring()
touserdata() - Method in class org.luaj.vm2.LuaUserdata
 
touserdata(Class) - Method in class org.luaj.vm2.LuaUserdata
 
touserdata() - Method in class org.luaj.vm2.LuaValue
Convert to userdata instance, or null.
touserdata(Class) - Method in class org.luaj.vm2.LuaValue
Convert to userdata instance if specific type, or null.
touserdata(int) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if a userdata, or null.
touserdata(int, Class) - Method in class org.luaj.vm2.Varargs
Return argument i as a java Object if it is a userdata whose instance Class c or a subclass, or null.
TRACE - Static variable in class org.luaj.vm2.lib.DebugLib
 
traceback(int) - Static method in class org.luaj.vm2.lib.DebugLib
Get a traceback as a string for the current thread
traceback(LuaThread, int) - Static method in class org.luaj.vm2.lib.DebugLib
Get a traceback for a particular thread.
TRUE - Static variable in class org.luaj.vm2.LuaValue
LuaBoolean constant corresponding to lua true
TSTRING - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua strings
TTABLE - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua tables
TTHREAD - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua threads
TUSERDATA - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for lua userdatas
TVALUE - Static variable in class org.luaj.vm2.LuaValue
Type enumeration constant for unknown values, for compatibility with C-based lua only
TwoArgFunction - Class in org.luaj.vm2.lib
Abstract base class for Java function implementations that take two arguments and return one value.
TwoArgFunction() - Constructor for class org.luaj.vm2.lib.TwoArgFunction
Default constructor
TwoArgFunction(LuaValue) - Constructor for class org.luaj.vm2.lib.TwoArgFunction
Constructor with specific environment
type() - Method in class org.luaj.vm2.lib.IoLib.File
 
type() - Method in class org.luaj.vm2.LuaBoolean
 
type() - Method in class org.luaj.vm2.LuaFunction
 
type() - Method in class org.luaj.vm2.LuaNil
 
type() - Method in class org.luaj.vm2.LuaNumber
 
type() - Method in class org.luaj.vm2.LuaString
 
type() - Method in class org.luaj.vm2.LuaTable
 
type() - Method in class org.luaj.vm2.LuaThread
 
type() - Method in class org.luaj.vm2.LuaUserdata
 
type() - Method in class org.luaj.vm2.LuaValue
Get the enumeration value for the type of this value.
type(int) - Method in class org.luaj.vm2.Varargs
Gets the type of argument i
TYPE_NAMES - Static variable in class org.luaj.vm2.LuaValue
String array constant containing names of each of the lua value types
typename() - Method in class org.luaj.vm2.lib.IoLib.File
 
typename() - Method in class org.luaj.vm2.LuaBoolean
 
typename() - Method in class org.luaj.vm2.LuaFunction
 
typename() - Method in class org.luaj.vm2.LuaNil
 
typename() - Method in class org.luaj.vm2.LuaNumber
 
typename() - Method in class org.luaj.vm2.LuaString
 
typename() - Method in class org.luaj.vm2.LuaTable
 
typename() - Method in class org.luaj.vm2.LuaThread
 
typename() - Method in class org.luaj.vm2.LuaUserdata
 
typename() - Method in class org.luaj.vm2.LuaValue
Get the String name of the type of this value.
typerror(String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError indicating an invalid type was supplied to a function

U

unimplemented(String) - Method in class org.luaj.vm2.LuaValue
Throw a LuaError indicating an operation is not implemented
UNM - Static variable in class org.luaj.vm2.LuaValue
LuaString constant with value "__unm" for use as metatag
UpValue - Class in org.luaj.vm2
Upvalue used with Closure formulation
UpValue(LuaValue[], int) - Constructor for class org.luaj.vm2.UpValue
Create an upvalue relative to a stack
upValues - Variable in class org.luaj.vm2.LuaClosure
 
upvalues - Variable in class org.luaj.vm2.Prototype
 
userdata() - Method in class org.luaj.vm2.LuaUserdata
 
userdataOf(Object) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaUserdata for an object.
userdataOf(Object, LuaValue) - Static method in class org.luaj.vm2.LuaValue
Construct a LuaUserdata for an object with a user supplied metatable.

V

v - Variable in class org.luaj.vm2.LuaBoolean
The value of the boolean
v - Variable in class org.luaj.vm2.LuaInteger
The value being held by this instance.
value() - Method in class org.luaj.vm2.Buffer
Get buffer contents as a LuaValue
valueOf(double) - Static method in class org.luaj.vm2.LuaDouble
 
valueOf(int) - Static method in class org.luaj.vm2.LuaInteger
 
valueOf(long) - Static method in class org.luaj.vm2.LuaInteger
Return a LuaNumber that represents the value provided
valueOf(String) - Static method in class org.luaj.vm2.LuaString
Get a LuaString instance whose bytes match the supplied Java String using the UTF8 encoding.
valueOf(byte[], int, int) - Static method in class org.luaj.vm2.LuaString
Construct a LuaString around a byte array without copying the contents.
valueOf(char[]) - Static method in class org.luaj.vm2.LuaString
Construct a LuaString using the supplied characters as byte values.
valueOf(byte[]) - Static method in class org.luaj.vm2.LuaString
Construct a LuaString around a byte array without copying the contents.
valueOf(boolean) - Static method in class org.luaj.vm2.LuaValue
Convert java boolean to a LuaValue.
valueOf(int) - Static method in class org.luaj.vm2.LuaValue
Convert java int to a LuaValue.
valueOf(double) - Static method in class org.luaj.vm2.LuaValue
Convert java double to a LuaValue.
valueOf(String) - Static method in class org.luaj.vm2.LuaValue
Convert java string to a LuaValue.
valueOf(byte[]) - Static method in class org.luaj.vm2.LuaValue
Convert bytes in an array to a LuaValue.
valueOf(byte[], int, int) - Static method in class org.luaj.vm2.LuaValue
Convert bytes in an array to a LuaValue.
VARARG_HASARG - Static variable in class org.luaj.vm2.Lua
masks for new-style vararg
VARARG_ISVARARG - Static variable in class org.luaj.vm2.Lua
 
VARARG_NEEDSARG - Static variable in class org.luaj.vm2.Lua
 
VarArgFunction - Class in org.luaj.vm2.lib
Abstract base class for Java function implementations that takes varaiable arguments and returns multiple return values.
VarArgFunction() - Constructor for class org.luaj.vm2.lib.VarArgFunction
 
VarArgFunction(LuaValue) - Constructor for class org.luaj.vm2.lib.VarArgFunction
 
Varargs - Class in org.luaj.vm2
Class to encapsulate varargs values, either as part of a variable argument list, or multiple return values.
Varargs() - Constructor for class org.luaj.vm2.Varargs
 
varargsOf(LuaValue[]) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around an array of LuaValues.
varargsOf(LuaValue[], Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around an array of LuaValues.
varargsOf(LuaValue[], int, int) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around an array of LuaValues.
varargsOf(LuaValue[], int, int, Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around an array of LuaValues.
varargsOf(LuaValue, Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around a set of 2 or more LuaValues.
varargsOf(LuaValue, LuaValue, Varargs) - Static method in class org.luaj.vm2.LuaValue
Construct a Varargs around a set of 3 or more LuaValues.
varname - Variable in class org.luaj.vm2.LocVars
The local variable name

W

waitFor() - Method in class org.luaj.vm2.lib.jse.JseProcess
Wait for the process to complete, and all pending output to finish.
WeakTable - Class in org.luaj.vm2
Subclass of LuaTable that provides weak key and weak value semantics.
WeakTable(boolean, boolean) - Constructor for class org.luaj.vm2.WeakTable
Construct a table with weak keys, weak values, or both
WeakTable(boolean, boolean, int, int) - Constructor for class org.luaj.vm2.WeakTable
Construct a table with weak keys, weak values, or both, and an initial capacity
WeakTable(boolean, boolean, LuaTable) - Constructor for class org.luaj.vm2.WeakTable
Construct a table with weak keys, weak values, or both, and a source of initial data
wrapStdin() - Method in class org.luaj.vm2.lib.IoLib
Wrap the standard input.
wrapStdin() - Method in class org.luaj.vm2.lib.jme.JmeIoLib
 
wrapStdin() - Method in class org.luaj.vm2.lib.jse.JseIoLib
 
wrapStdout() - Method in class org.luaj.vm2.lib.IoLib
Wrap the standard output.
wrapStdout() - Method in class org.luaj.vm2.lib.jme.JmeIoLib
 
wrapStdout() - Method in class org.luaj.vm2.lib.jse.JseIoLib
 
write(LuaString) - Method in class org.luaj.vm2.lib.IoLib.File
 
write(DataOutputStream, int, int) - Method in class org.luaj.vm2.LuaString
 

Y

yield(Varargs) - Static method in class org.luaj.vm2.LuaThread
Yield the current thread with arguments

Z

ZERO - Static variable in class org.luaj.vm2.LuaValue
LuaValue number constant equal to 0
ZeroArgFunction - Class in org.luaj.vm2.lib
Abstract base class for Java function implementations that take no arguments and return one value.
ZeroArgFunction() - Constructor for class org.luaj.vm2.lib.ZeroArgFunction
Default constructor
ZeroArgFunction(LuaValue) - Constructor for class org.luaj.vm2.lib.ZeroArgFunction
Constructor with specific environment

_

_assert(boolean) - Static method in class org.luaj.vm2.compiler.LuaC
 
_file_close(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_file_flush(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_file_lines(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_file_read(LuaValue, Varargs) - Method in class org.luaj.vm2.lib.IoLib
 
_file_seek(LuaValue, String, int) - Method in class org.luaj.vm2.lib.IoLib
 
_file_setvbuf(LuaValue, String, int) - Method in class org.luaj.vm2.lib.IoLib
 
_file_write(LuaValue, Varargs) - Method in class org.luaj.vm2.lib.IoLib
 
_getinfo(Varargs, LuaValue) - Static method in class org.luaj.vm2.lib.DebugLib
 
_io_close(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_io_flush() - Method in class org.luaj.vm2.lib.IoLib
 
_io_index(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_io_input(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_io_lines(String) - Method in class org.luaj.vm2.lib.IoLib
 
_io_open(String, String) - Method in class org.luaj.vm2.lib.IoLib
 
_io_output(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_io_popen(String, String) - Method in class org.luaj.vm2.lib.IoLib
 
_io_read(Varargs) - Method in class org.luaj.vm2.lib.IoLib
 
_io_tmpfile() - Method in class org.luaj.vm2.lib.IoLib
 
_io_type(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_io_write(Varargs) - Method in class org.luaj.vm2.lib.IoLib
 
_lines_iter(LuaValue) - Method in class org.luaj.vm2.lib.IoLib
 
_VERSION - Static variable in class org.luaj.vm2.Lua
version is supplied by ant build task

A B C D E F G H I J K L M N O P R S T U V W Y Z _

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