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

A

argcheck(boolean, int, String) - Method in class org.luaj.vm.LuaState
Conditionally report an error with an argument.
argerror(int, String) - Method in class org.luaj.vm.LuaState
Report an error with an argument.
array - Variable in class org.luaj.vm.LTable
 
arrayExpand(int) - Method in class org.luaj.vm.LTable
 
arrayPresize(int) - Method in class org.luaj.vm.LTable
 

B

base - Variable in class org.luaj.vm.CallInfo
 
base - Variable in class org.luaj.vm.LuaState
 
BITRK - Static variable in class org.luaj.vm.Lua
this bit 1 means constant (0 means register)

C

call(int, int) - Method in class org.luaj.vm.LuaState
Calls a function.
call(LFunction) - Method in class org.luaj.vm.LuaState
Call a function with no arguments and one return value.
call(LFunction, LValue) - Method in class org.luaj.vm.LuaState
Call a function with one argument and one return value This may change values in the current stack frame.
CallInfo - Class in org.luaj.vm
 
CallInfo(LClosure, int, int, int, int) - Constructor for class org.luaj.vm.CallInfo
 
calls - Variable in class org.luaj.vm.LuaState
 
cc - Variable in class org.luaj.vm.LuaState
 
charAt(int) - Method in class org.luaj.vm.LString
 
checkany(int) - Method in class org.luaj.vm.LuaState
Checks whether the function has an argument of any type (including nil) at position narg.
checkdouble(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a number and returns this number cast to a double.
checkfunction(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a function and returns this function.
checkint(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a number and returns this number cast to an int.
checkinteger(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a number and returns this number cast to a LInteger.
checkLoadFactor() - Method in class org.luaj.vm.LTable
 
checklong(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a number and returns this number cast to a long.
checklstring(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a string and returns this string as a lua string.
checknumber(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a number and returns this number.
checkstack(int) - Method in class org.luaj.vm.LuaState
Ensures that there are at least extra free stack slots in the stack.
checkstring(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a string and returns this string as a Java String.
checktable(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a table and returns this table.
checkthread(int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg is a thread and returns this thread.
checktype(int, int) - Method in class org.luaj.vm.LuaState
Checks whether the function argument narg has type t and return it as an LValue.
checkudata(int, Class) - Method in class org.luaj.vm.LuaState
Check that the type of userdata on the stack matches the required type, and if so, return the Java Object the userdata value points to.
classes - Variable in class org.luaj.lib.j2se.LuajavaLib.ParamsList
 
close(int) - Method in class org.luaj.vm.UpVal
 
closeUpVals(int) - Method in class org.luaj.vm.LuaState
 
closure - Variable in class org.luaj.vm.CallInfo
 
code - Variable in class org.luaj.vm.LPrototype
 
coerce(Object) - Static method in class org.luaj.lib.j2se.CoerceJavaToLua
 
coerce(Object) - Method in interface org.luaj.lib.j2se.CoerceJavaToLua.Coercion
 
coerce(LValue) - Method in interface org.luaj.lib.j2se.CoerceLuaToJava.Coercion
 
CoerceJavaToLua - Class in org.luaj.lib.j2se
 
CoerceJavaToLua() - Constructor for class org.luaj.lib.j2se.CoerceJavaToLua
 
CoerceJavaToLua.Coercion - Interface in org.luaj.lib.j2se
 
CoerceLuaToJava - Class in org.luaj.lib.j2se
 
CoerceLuaToJava() - Constructor for class org.luaj.lib.j2se.CoerceLuaToJava
 
CoerceLuaToJava.Coercion - Interface in org.luaj.lib.j2se
 
compareError(Object, Object) - Static method in class org.luaj.vm.LValue
 
compareTo(LString) - Method in class org.luaj.vm.LString
 
compile(InputStream, String) - Static method in class org.luaj.compiler.LuaC
Utility method to invoke the compiler for an input stream
compile(int, InputStream, String) - Method in class org.luaj.compiler.LuaC
Compile source bytes into a LPrototype.
compile(int, InputStream, String) - Method in interface org.luaj.vm.LoadState.LuaCompiler
 
compiler - Static variable in class org.luaj.vm.LoadState
Compiler instance, if installed
containsKey(LValue) - Method in class org.luaj.vm.LTable
Return true if the table contains an entry with the given key, false if not.
containsKey(int) - Method in class org.luaj.vm.LTable
Return true if the table contains an entry with the given integer-valued key, false if not.
conversionError(String) - Method in class org.luaj.vm.LValue
 
copyInto(int, byte[], int, int) - Method in class org.luaj.vm.LString
Copy the bytes of the string into the given byte array.
createReader(InputStream) - Method in class org.luaj.vm.Platform
Create Reader from an InputStream
currentfunc(LuaState) - Method in class org.luaj.vm.CallInfo
 
currentfunca(LuaState) - Method in class org.luaj.vm.CallInfo
 
currentline() - Method in class org.luaj.vm.CallInfo
 
currentpc() - Method in class org.luaj.vm.CallInfo
Get current program counter or instruction being executed now.

D

debugAssert(boolean) - Method in class org.luaj.vm.LuaState
 
debugHooks(int) - Method in class org.luaj.vm.LuaState
 
DebugNetSupport - Interface in org.luaj.vm
 
disconnect() - Method in interface org.luaj.vm.DebugNetSupport
Disconnect all connected clients.
doCall(LClosure, LValue[]) - Method in class org.luaj.vm.LuaState
Put the closure on the stack with arguments, then perform the call.

E

encodeToUtf8(String, byte[], int) - Static method in class org.luaj.vm.LString
Encode the given Java string as UTF-8 bytes, writing the result to bytes starting at offset.
endpc - Variable in class org.luaj.vm.LocVars
 
env - Variable in class org.luaj.vm.LClosure
 
equals(Object) - Method in class org.luaj.lib.j2se.LuajavaLib.ParamsList
 
equals(Object) - Method in class org.luaj.vm.LNumber
Compare for equivalence by using lua op comparator
equals(Object) - Method in class org.luaj.vm.LString
 
equals(LString, int, LString, int, int) - Static method in class org.luaj.vm.LString
 
equals(byte[], int, byte[], int, int) - Static method in class org.luaj.vm.LString
 
equals(Object) - Method in class org.luaj.vm.LUserData
 
error(String, int) - Method in class org.luaj.vm.LuaState
Raises an error.
error(String) - Method in class org.luaj.vm.LuaState
Raises an error with the default level.
exec() - Method in class org.luaj.vm.LuaState
execute instructions up to a yield, return, or call
EXEC_ERROR - Static variable in class org.luaj.lib.j2se.J2seOsLib
 
EXEC_INTERRUPTED - Static variable in class org.luaj.lib.j2se.J2seOsLib
 
EXEC_IOEXCEPTION - Static variable in class org.luaj.lib.j2se.J2seOsLib
 
execute(String) - Method in class org.luaj.lib.j2se.J2seOsLib
 
execute() - Method in class org.luaj.vm.LuaState
Execute bytecodes until the current call completes or the vm yields.

F

FALSE - Static variable in class org.luaj.vm.LBoolean
 
findUpVal(int) - Method in class org.luaj.vm.LuaState
 
foreach(LuaState, LFunction, boolean) - Method in class org.luaj.vm.LTable
Executes the given f over all elements of table.

G

get(LValue) - Method in class org.luaj.vm.LTable
Utility method to directly get the value in a table, without metatable calls.
get(int) - Method in class org.luaj.vm.LTable
Utility method for retrieving an integer-keyed value
GET_OPCODE(int) - Static method in class org.luaj.vm.Lua
 
GETARG_A(int) - Static method in class org.luaj.vm.Lua
 
GETARG_B(int) - Static method in class org.luaj.vm.Lua
 
GETARG_Bx(int) - Static method in class org.luaj.vm.Lua
 
GETARG_C(int) - Static method in class org.luaj.vm.Lua
 
GETARG_sBx(int) - Static method in class org.luaj.vm.Lua
 
getArrayCapacity() - Method in class org.luaj.vm.LTable
Get capacity of hash part
getBMode(int) - Static method in class org.luaj.vm.Lua
 
getCMode(int) - Static method in class org.luaj.vm.Lua
 
getfield(int, LString) - Method in class org.luaj.vm.LuaState
Dereference a tables field.
getFileLine(int) - Method in class org.luaj.vm.LuaState
Get the file line number info for a particular call frame.
getglobal(String) - Method in class org.luaj.vm.LuaState
Look up a global value.
getHashCapacity() - Method in class org.luaj.vm.LTable
Get capacity of hash part
gethook() - Method in class org.luaj.vm.LuaState
Get the current hook function, if any.
gethookcount() - Method in class org.luaj.vm.LuaState
Get the current hook count.
gethookmask() - Method in class org.luaj.vm.LuaState
Get the current hook mask.
getInstance() - Static method in class org.luaj.vm.Platform
Singleton to be used for platform operations.
getKeys() - Method in class org.luaj.vm.LTable
Deprecated. this is not scalable. Does a linear search through the table.
getlocalname(int, int) - Method in class org.luaj.vm.LPrototype
Get the name of a local variable.
getMetatable() - Static method in class org.luaj.vm.LString
Get the metatable for all string values.
getmetatable(int) - Method in class org.luaj.vm.LuaState
Get a value's metatable.
getName() - Method in class org.luaj.vm.Platform
Get the name of the platform
getOpMode(int) - Static method in class org.luaj.vm.Lua
 
getProperty(String) - Method in class org.luaj.vm.Platform
Returns the value for the given platform property.
getRunning() - Static method in class org.luaj.vm.LThread
 
getSourceFileName(LString) - Method in class org.luaj.vm.LuaState
 
getSourceFileName(String) - Method in class org.luaj.vm.LuaState
 
getSourceName(String) - Static method in class org.luaj.vm.LoadState
 
getStackFrame(int) - Method in class org.luaj.vm.LuaState
 
getStatus() - Method in class org.luaj.vm.LThread
 
gettop() - Method in class org.luaj.vm.LuaState
Returns the index of the top element in the stack.
getValue() - Method in class org.luaj.vm.UpVal
 

H

hash - Variable in class org.luaj.lib.j2se.LuajavaLib.ParamsList
 
hashClearSlot(int) - Method in class org.luaj.vm.LTable
 
hashCode() - Method in class org.luaj.lib.j2se.LuajavaLib.ParamsList
 
hashCode() - Method in class org.luaj.vm.LDouble
 
hashCode() - Method in class org.luaj.vm.LInteger
 
hashCode() - Method in class org.luaj.vm.LString
 
hashCode() - Method in class org.luaj.vm.LUserData
 
hashCodeOf(int) - Static method in class org.luaj.vm.LInteger
 
hashFindSlot(LValue) - Method in class org.luaj.vm.LTable
 
hashGet(LValue) - Method in class org.luaj.vm.LTable
 
hashKeys - Variable in class org.luaj.vm.LTable
 
hashRemove(LValue) - Method in class org.luaj.vm.LTable
 
hashSet(LValue, Object) - Method in class org.luaj.vm.LTable
 
hashValues - Variable in class org.luaj.vm.LTable
 

I

iABC - Static variable in class org.luaj.vm.Lua
 
iABx - Static variable in class org.luaj.vm.Lua
 
iAsBx - Static variable in class org.luaj.vm.Lua
 
id() - Method in class org.luaj.vm.LValue
 
INDEXK(int) - Static method in class org.luaj.vm.Lua
gets the index of the constant
indexOf(byte, int) - Method in class org.luaj.vm.LString
 
indexOf(LString, int) - Method in class org.luaj.vm.LString
 
indexOfAny(LString) - Method in class org.luaj.vm.LString
Java version of strpbrk, which is a terribly named C function.
init() - Method in class org.luaj.vm.LuaState
Performs the initialization.
insert(int) - Method in class org.luaj.vm.LuaState
Insert the top item somewhere in the stack.
install() - Static method in class org.luaj.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(LTable) - Static method in class org.luaj.lib.j2se.J2seIoLib
 
install(LTable) - Static method in class org.luaj.lib.j2se.J2seOsLib
Install the os library using the J2seOsLib class as a factory
install(LTable) - Static method in class org.luaj.lib.j2se.LuajavaLib
 
installOptionalLibs(LuaState) - Method in class org.luaj.vm.Platform
Install optional libraries on the LuaState.
installStandardLibs() - Method in class org.luaj.vm.LuaState
Install the standard set of libraries used by most implementations: BaseLib, CoroutineLib, MathLib, PackageLib, TableLib, StringLib
invoke(LuaState) - Method in class org.luaj.vm.LFunction
Called to invoke a JavaFunction.
invokeJavaFunction(LFunction) - Method in class org.luaj.vm.LuaState
Invoke a LFunction being called via prepStackCall()
is_vararg - Variable in class org.luaj.vm.LPrototype
 
isboolean(int) - Method in class org.luaj.vm.LuaState
Test if a value is boolean.
isClosed() - Method in class org.luaj.vm.UpVal
 
isClosure() - Method in class org.luaj.vm.LClosure
Returns true if this is a lua closure, false otherwise
isClosure() - Method in class org.luaj.vm.LValue
Returns true if this is a lua closure, false otherwise
isFunction() - Method in class org.luaj.vm.LFunction
 
isfunction(int) - Method in class org.luaj.vm.LuaState
Test if a value is a function.
isFunction() - Method in class org.luaj.vm.LValue
Return true if this is a LFunction
isInteger() - Method in class org.luaj.vm.LDouble
 
isInteger() - Method in class org.luaj.vm.LInteger
 
isInteger() - Method in class org.luaj.vm.LNumber
Returns false by default for non-LNumbers, but subclasses of LNumber must override.
isInteger() - Method in class org.luaj.vm.LValue
Return true if this value can be represented as an "int"
ISK(int) - Static method in class org.luaj.vm.Lua
test whether value is a constant
isLua() - Method in class org.luaj.vm.CallInfo
 
isNil() - Method in class org.luaj.vm.LNil
 
isnil(int) - Method in class org.luaj.vm.LuaState
Test if a value is nil [-0, +0, -]
isNil() - Method in class org.luaj.vm.LValue
Return true if this value is LNil.NIL, false otherwise
isnoneornil(int) - Method in class org.luaj.vm.LuaState
Test if a value is nil or not valid [-0, +0, -]
isNumber() - Method in class org.luaj.vm.LNumber
Returns true if this is or can be made into a number
isNumber() - Method in class org.luaj.vm.LString
Returns true if this is or can be made into a number
isnumber(int) - Method in class org.luaj.vm.LuaState
Test if a value is a number [-0, +0, -]
isNumber() - Method in class org.luaj.vm.LValue
Returns true if this is or can be made into a number
isString() - Method in class org.luaj.vm.LNumber
In lua all numbers are strings !
isString() - Method in class org.luaj.vm.LString
 
isstring(int) - Method in class org.luaj.vm.LuaState
Test if a value is a string [-0, +0, m]
isString() - Method in class org.luaj.vm.LValue
Return true if this is a lua string, meaning it is either a LString or LNumber,since all numbers are convertible to strings in lua
isTable() - Method in class org.luaj.vm.LTable
 
istable(int) - Method in class org.luaj.vm.LuaState
Test if a value is a table [-0, +0, -]
isTable() - Method in class org.luaj.vm.LValue
Return true if this is a LTable
isthread(int) - Method in class org.luaj.vm.LuaState
Test if a value is a thread [-0, +0, -]
isuserdata(int) - Method in class org.luaj.vm.LuaState
Test if a value is a userdata [-0, +0, -]
isUserData() - Method in class org.luaj.vm.LUserData
 
isUserData() - Method in class org.luaj.vm.LValue
Returns true if this is an LUserData

J

J2seIoLib - Class in org.luaj.lib.j2se
Implementation of the lua io library for J2se using RandomAccessFile to implement seek.
J2seIoLib() - Constructor for class org.luaj.lib.j2se.J2seIoLib
 
J2seIoLib(int) - Constructor for class org.luaj.lib.j2se.J2seIoLib
 
J2seOsLib - Class in org.luaj.lib.j2se
Implementation of the lua os library for J2se
J2seOsLib() - Constructor for class org.luaj.lib.j2se.J2seOsLib
 

K

k - Variable in class org.luaj.vm.LPrototype
 

L

lastIndexOf(LString) - Method in class org.luaj.vm.LString
 
lastlinedefined - Variable in class org.luaj.vm.LPrototype
 
LBoolean - Class in org.luaj.vm
 
LClosure - Class in org.luaj.vm
 
LClosure(LPrototype, LTable) - Constructor for class org.luaj.vm.LClosure
Construct using a prototype and initial environment.
LDouble - Class in org.luaj.vm
 
LDouble(double) - Constructor for class org.luaj.vm.LDouble
 
length() - Method in class org.luaj.vm.LString
 
lengthAsUtf8(String) - Static method in class org.luaj.vm.LString
Count the number of bytes required to encode the string as UTF-8.
LFIELDS_PER_FLUSH - Static variable in class org.luaj.vm.Lua
 
LFunction - Class in org.luaj.vm
 
LFunction() - Constructor for class org.luaj.vm.LFunction
 
linedefined - Variable in class org.luaj.vm.LPrototype
 
lineinfo - Variable in class org.luaj.vm.LPrototype
 
LInteger - Class in org.luaj.vm
 
LNil - Class in org.luaj.vm
 
LNil() - Constructor for class org.luaj.vm.LNil
 
LNumber - Class in org.luaj.vm
 
LNumber() - Constructor for class org.luaj.vm.LNumber
 
load(InputStream, String) - Method in class org.luaj.vm.LuaState
Loads a Lua chunk.
loadFunction(LString) - Method in class org.luaj.vm.LoadState
 
loadHeader() - Method in class org.luaj.vm.LoadState
 
LoadState - Class in org.luaj.vm
 
LoadState.LuaCompiler - Interface in org.luaj.vm
Interface for the compiler, if it is installed.
LocVars - Class in org.luaj.vm
 
LocVars(LString, int, int) - Constructor for class org.luaj.vm.LocVars
 
locvars - Variable in class org.luaj.vm.LPrototype
 
longBitsToLuaNumber(long) - Static method in class org.luaj.vm.LoadState
 
LPrototype - Class in org.luaj.vm
 
LPrototype() - Constructor for class org.luaj.vm.LPrototype
 
LString - Class in org.luaj.vm
A String implementation for Lua using bytes instead of chars.
LString(String) - Constructor for class org.luaj.vm.LString
Construct a Lua string from the given Java string.
LString(byte[]) - Constructor for class org.luaj.vm.LString
Construct a string from the given byte array.
LString(byte[], int, int) - Constructor for class org.luaj.vm.LString
Construct a string from the given byte array and range.
LTable - Class in org.luaj.vm
Simple implementation of table structure for Lua VM.
LTable() - Constructor for class org.luaj.vm.LTable
Construct an empty LTable with no initial capacity.
LTable(int, int) - Constructor for class org.luaj.vm.LTable
Construct an empty LTable that is expected to contain entries with keys in the range 1 ..
LThread - Class in org.luaj.vm
Implementation of lua coroutines using Java Threads
LThread(LFunction, LTable) - Constructor for class org.luaj.vm.LThread
 
LTYPENAMES - Static variable in class org.luaj.vm.LString
 
Lua - Class in org.luaj.vm
Constants for lua limits and opcodes
Lua() - Constructor for class org.luaj.vm.Lua
 
LUA_ERRERR - Static variable in class org.luaj.vm.LuaState
 
LUA_ERRMEM - Static variable in class org.luaj.vm.LuaState
 
LUA_ERRRUN - Static variable in class org.luaj.vm.LuaState
 
LUA_ERRSYNTAX - Static variable in class org.luaj.vm.LuaState
 
LUA_MASKCALL - Static variable in class org.luaj.vm.LuaState
 
LUA_MASKLINE - Static variable in class org.luaj.vm.LuaState
 
LUA_MASKRET - Static variable in class org.luaj.vm.LuaState
 
LUA_MULTRET - Static variable in class org.luaj.vm.Lua
use return values from previous op
LUA_STATE_CLASS_NAME - Static variable in class org.luaj.vm.Platform
When non-null, name of a Java Class that implements LuaState and has a default constructor which will be used to construct a new lua state using Platform.newLuaState()
LUA_TBOOLEAN - Static variable in class org.luaj.vm.Lua
 
LUA_TFUNCTION - Static variable in class org.luaj.vm.Lua
 
LUA_TINT - Static variable in class org.luaj.vm.Lua
 
LUA_TLIGHTUSERDATA - Static variable in class org.luaj.vm.Lua
 
LUA_TNIL - Static variable in class org.luaj.vm.Lua
 
LUA_TNONE - Static variable in class org.luaj.vm.Lua
 
LUA_TNUMBER - Static variable in class org.luaj.vm.Lua
 
LUA_TSTRING - Static variable in class org.luaj.vm.Lua
 
LUA_TTABLE - Static variable in class org.luaj.vm.Lua
 
LUA_TTHREAD - Static variable in class org.luaj.vm.Lua
 
LUA_TUSERDATA - Static variable in class org.luaj.vm.Lua
 
LUA_TVALUE - Static variable in class org.luaj.vm.Lua
 
LUA_YIELD - Static variable in class org.luaj.vm.LuaState
 
luaAsString() - Method in class org.luaj.vm.LBoolean
 
luaAsString() - Method in class org.luaj.vm.LInteger
 
luaAsString() - Method in class org.luaj.vm.LNil
 
luaAsString() - Method in class org.luaj.vm.LString
 
luaAsString() - Method in class org.luaj.vm.LValue
Get the value as a LString
luaBinCmpDouble(int, double) - Method in class org.luaj.vm.LDouble
 
luaBinCmpDouble(int, double) - Method in class org.luaj.vm.LInteger
 
luaBinCmpDouble(int, double) - Method in class org.luaj.vm.LValue
 
luaBinCmpDoubleDouble(int, double, double) - Static method in class org.luaj.vm.LDouble
 
luaBinCmpInteger(int, int) - Method in class org.luaj.vm.LDouble
 
luaBinCmpInteger(int, int) - Method in class org.luaj.vm.LInteger
 
luaBinCmpInteger(int, int) - Method in class org.luaj.vm.LValue
 
luaBinCmpString(int, LString) - Method in class org.luaj.vm.LString
 
luaBinCmpString(int, LString) - Method in class org.luaj.vm.LValue
 
luaBinCmpUnknown(int, LValue) - Method in class org.luaj.vm.LDouble
 
luaBinCmpUnknown(int, LValue) - Method in class org.luaj.vm.LInteger
 
luaBinCmpUnknown(int, LValue) - Method in class org.luaj.vm.LString
 
luaBinCmpUnknown(int, LValue) - Method in class org.luaj.vm.LUserData
 
luaBinCmpUnknown(int, LValue) - Method in class org.luaj.vm.LValue
 
luaBinOpDouble(int, double) - Method in class org.luaj.vm.LDouble
 
luaBinOpDouble(int, double) - Method in class org.luaj.vm.LInteger
 
luaBinOpDouble(int, double) - Method in class org.luaj.vm.LString
 
luaBinOpDouble(int, double) - Method in class org.luaj.vm.LValue
 
luaBinOpDoubleDouble(int, double, double) - Static method in class org.luaj.vm.LDouble
 
luaBinOpInteger(int, int) - Method in class org.luaj.vm.LDouble
 
luaBinOpInteger(int, int) - Method in class org.luaj.vm.LInteger
 
luaBinOpInteger(int, int) - Method in class org.luaj.vm.LString
 
luaBinOpInteger(int, int) - Method in class org.luaj.vm.LValue
 
luaBinOpUnknown(int, LValue) - Method in class org.luaj.vm.LDouble
 
luaBinOpUnknown(int, LValue) - Method in class org.luaj.vm.LInteger
 
luaBinOpUnknown(int, LValue) - Method in class org.luaj.vm.LString
 
luaBinOpUnknown(int, LValue) - Method in class org.luaj.vm.LValue
 
luaByte(int) - Method in class org.luaj.vm.LString
 
LuaC - Class in org.luaj.compiler
Compiler for Lua
LuaC() - Constructor for class org.luaj.compiler.LuaC
 
LUAC_FORMAT - Static variable in class org.luaj.vm.LoadState
for header of binary files -- this is the official format
LUAC_HEADERSIZE - Static variable in class org.luaj.vm.LoadState
size of header of binary files
LUAC_VERSION - Static variable in class org.luaj.vm.LoadState
for header of binary files -- this is Lua 5.1
luaConcatTo(ByteArrayOutputStream) - Method in class org.luaj.vm.LNumber
Write as a string
luaConcatTo(ByteArrayOutputStream) - Method in class org.luaj.vm.LString
 
luaConcatTo(ByteArrayOutputStream) - Method in class org.luaj.vm.LValue
Concatenate this value to a ByteArrayOutputStream
LuaErrorException - Exception in org.luaj.vm
RuntimeException that is thrown and caught in response to a lua error.
LuaErrorException() - Constructor for exception org.luaj.vm.LuaErrorException
Construct a LuaErrorException with the default message.
LuaErrorException(Throwable) - Constructor for exception org.luaj.vm.LuaErrorException
Construct a LuaErrorException in response to a Throwable that was caught and with the default message.
LuaErrorException(String) - Constructor for exception org.luaj.vm.LuaErrorException
Construct a LuaErrorException with a specific message.
LuaErrorException(LuaState, String, int) - Constructor for exception org.luaj.vm.LuaErrorException
Construct the message around a specific vm and with a particular level of debug info
luaGetEnv(LTable) - Method in class org.luaj.vm.LClosure
Get the enviroment for this closure
luaGetEnv(LTable) - Method in class org.luaj.vm.LValue
Get the environment of the object if it is a closure, or d if not a closure.
luaGetMetatable() - Method in class org.luaj.vm.LString
 
luaGetMetatable() - Method in class org.luaj.vm.LTable
Valid for tables
luaGetMetatable() - Method in class org.luaj.vm.LUserData
 
luaGetMetatable() - Method in class org.luaj.vm.LValue
Valid for all types: get a metatable.
luaGetTable(LuaState, LValue) - Method in class org.luaj.vm.LValue
Dispatch a gettable operation.
luaGetType() - Method in class org.luaj.vm.LBoolean
 
luaGetType() - Method in class org.luaj.vm.LFunction
 
luaGetType() - Method in class org.luaj.vm.LNil
 
luaGetType() - Method in class org.luaj.vm.LNumber
 
luaGetType() - Method in class org.luaj.vm.LString
 
luaGetType() - Method in class org.luaj.vm.LTable
 
luaGetType() - Method in class org.luaj.vm.LThread
 
luaGetType() - Method in class org.luaj.vm.LUserData
 
luaGetType() - Method in class org.luaj.vm.LValue
Valid for all types: return the int value identifying the type of this value
luaGetTypeName() - Method in class org.luaj.vm.LValue
Valid for all types: return the type of this value as an LString
luaInsertPos(int, LValue) - Method in class org.luaj.vm.LTable
Insert element at a position in the list, shifting contiguous elements up.
LuajavaLib - Class in org.luaj.lib.j2se
 
LuajavaLib() - Constructor for class org.luaj.lib.j2se.LuajavaLib
 
LuajavaLib.ParamsList - Class in org.luaj.lib.j2se
 
luaLength() - Method in class org.luaj.vm.LString
Built-in opcode LEN, for Strings and Tables
luaLength() - Method in class org.luaj.vm.LTable
Try to find a boundary in table `t'.
luaLength() - Method in class org.luaj.vm.LValue
Built-in opcode LEN, for Strings and Tables
luaMaxN() - Method in class org.luaj.vm.LTable
Returns the largest positive numerical index of the given table, or zero if the table has no positive numerical indices.
luaP_opmodes - Static variable in class org.luaj.vm.Lua
 
luaRemovePos(int) - Method in class org.luaj.vm.LTable
Remove an element from the list, moving contiguous elements down
luaSetEnv(LTable) - Method in class org.luaj.vm.LClosure
Set the environment if a thread, or closure, and return 1, otherwise return 0
luaSetEnv(LTable) - Method in class org.luaj.vm.LThread
 
luaSetEnv(LTable) - Method in class org.luaj.vm.LValue
Set the environment if a thread, or closure, and return true, otherwise return false
luaSetMetatable(LValue) - Method in class org.luaj.vm.LTable
Valid for tables
luaSetMetatable(LValue) - Method in class org.luaj.vm.LValue
Valid for tables
luaSetTable(LuaState, LValue, LValue) - Method in class org.luaj.vm.LValue
Dispatch a settable operation.
luaSort(LuaState, LValue) - Method in class org.luaj.vm.LTable
 
luaStackCall(LuaState) - Method in class org.luaj.lib.j2se.LuajavaLib
 
luaStackCall(LuaState) - Method in class org.luaj.vm.LClosure
 
luaStackCall(LuaState) - Method in class org.luaj.vm.LFunction
Set up a Java invocation, and leave the results on the stack starting at base.
luaStackCall(LuaState) - Method in class org.luaj.vm.LValue
 
LuaState - Class in org.luaj.vm
LuaState() - Constructor for class org.luaj.vm.LuaState
Creates a new, independent LuaState instance.
luaToNumber() - Method in class org.luaj.vm.LNumber
Convert to a number if possible, or nil otherwise
luaToNumber() - Method in class org.luaj.vm.LString
 
luaToNumber(int) - Method in class org.luaj.vm.LString
 
luaToNumber() - Method in class org.luaj.vm.LValue
Convert to a number if possible, or nil otherwise
luaUnaryMinus() - Method in class org.luaj.vm.LDouble
Arithmetic negative
luaUnaryMinus() - Method in class org.luaj.vm.LInteger
Arithmetic negative
luaUnaryMinus() - Method in class org.luaj.vm.LString
 
luaUnaryMinus() - Method in class org.luaj.vm.LValue
Arithmetic negative
luaV_call_index(LFunction, LValue, LValue) - Method in class org.luaj.vm.LuaState
Call an index function with two arguments and one return value Values in the current stack frame will be preserved.
luaV_call_newindex(LFunction, LValue, LValue, LValue) - Method in class org.luaj.vm.LuaState
Call a newindex function with three arguments and one return value Values in the current stack frame will be preserved.
luaV_getmetafield(LValue, LString) - Static method in class org.luaj.vm.LuaState
 
luaV_gettable(LValue, LValue) - Method in class org.luaj.vm.LuaState
Get a key from a table using full metatable processing
luaV_settable(LValue, LValue, LValue) - Method in class org.luaj.vm.LuaState
Get a key from a table using full metatable processing
LUserData - Class in org.luaj.vm
 
LUserData(Object) - Constructor for class org.luaj.vm.LUserData
 
LUserData(Object, LTable) - Constructor for class org.luaj.vm.LUserData
 
LValue - Class in org.luaj.vm
 
LValue() - Constructor for class org.luaj.vm.LValue
 
LWeakTable - Class in org.luaj.vm
 
LWeakTable() - Constructor for class org.luaj.vm.LWeakTable
 
LWeakTable(int, int) - Constructor for class org.luaj.vm.LWeakTable
 
LWeakTable(LTable) - Constructor for class org.luaj.vm.LWeakTable
 

M

m_bytes - Variable in class org.luaj.vm.LString
 
m_hash - Variable in class org.luaj.vm.LString
 
m_instance - Variable in class org.luaj.vm.LUserData
 
m_length - Variable in class org.luaj.vm.LString
 
m_metatable - Variable in class org.luaj.vm.LUserData
 
m_offset - Variable in class org.luaj.vm.LString
 
MASK_A - Static variable in class org.luaj.vm.Lua
 
MASK_B - Static variable in class org.luaj.vm.Lua
 
MASK_Bx - Static variable in class org.luaj.vm.Lua
 
MASK_C - Static variable in class org.luaj.vm.Lua
 
MASK_NOT_A - Static variable in class org.luaj.vm.Lua
 
MASK_NOT_B - Static variable in class org.luaj.vm.Lua
 
MASK_NOT_Bx - Static variable in class org.luaj.vm.Lua
 
MASK_NOT_C - Static variable in class org.luaj.vm.Lua
 
MASK_NOT_OP - Static variable in class org.luaj.vm.Lua
 
MASK_OP - Static variable in class org.luaj.vm.Lua
 
mathop(int, LNumber) - Method in class org.luaj.vm.Platform
Compute a math operation that takes a single double argument and returns a double
mathop(int, LNumber, LNumber) - Method in class org.luaj.vm.Platform
Compute a math operation that takes a two double arguments and returns a double
mathPow(LNumber, LNumber) - Method in class org.luaj.vm.Platform
Compute math.pow() for two numbers using double math when available.
MAX_OP - Static variable in class org.luaj.vm.Lua
 
MAXARG_A - Static variable in class org.luaj.vm.Lua
 
MAXARG_B - Static variable in class org.luaj.vm.Lua
 
MAXARG_Bx - Static variable in class org.luaj.vm.Lua
 
MAXARG_C - Static variable in class org.luaj.vm.Lua
 
MAXARG_sBx - Static variable in class org.luaj.vm.Lua
 
MAXINDEXRK - Static variable in class org.luaj.vm.Lua
 
MAXSTACK - Static variable in class org.luaj.compiler.LuaC
 
maxstacksize - Variable in class org.luaj.vm.LPrototype
 

N

nCcalls - Variable in class org.luaj.compiler.LuaC
 
newClosure(LTable) - Method in class org.luaj.vm.LPrototype
 
newInstance(int) - Method in class org.luaj.lib.j2se.J2seIoLib
 
newInstance(int) - Method in class org.luaj.lib.j2se.J2seOsLib
 
newlstr(char[], int, int) - Method in class org.luaj.compiler.LuaC
 
newLuaState() - Static method in class org.luaj.vm.Platform
Creates a new instance of LuaState.
newStringCopy(LString) - Static method in class org.luaj.vm.LString
 
newStringCopy(byte[], int, int) - Static method in class org.luaj.vm.LString
 
newStringNoCopy(byte[], int, int) - Static method in class org.luaj.vm.LString
 
newTString(LString) - Method in class org.luaj.compiler.LuaC
 
next(LuaState, LValue, boolean) - Method in class org.luaj.vm.LTable
Leave key,value pair on top, or nil if at end of list.
next(LuaState, LValue, boolean) - Method in class org.luaj.vm.LWeakTable
 
NIL - Static variable in class org.luaj.vm.LNil
 
NO_REG - Static variable in class org.luaj.vm.Lua
invalid register that fits in 8 bits
normalizeGet(Object) - Method in class org.luaj.vm.LTable
Check for null, and convert to nilor leave alone
normalizeGet(Object) - Method in class org.luaj.vm.LWeakTable
 
normalizePut(LValue) - Method in class org.luaj.vm.LTable
Check for nil, and convert to null or leave alone
normalizePut(LValue) - Method in class org.luaj.vm.LWeakTable
 
nresults - Variable in class org.luaj.vm.CallInfo
 
nresults - Variable in class org.luaj.vm.LuaState
 
NUM_OPCODES - Static variable in class org.luaj.vm.Lua
 
numberOf(double) - Static method in class org.luaj.vm.LDouble
Convert to LNumber, using LInteger if possible
numparams - Variable in class org.luaj.vm.LPrototype
 
nups - Variable in class org.luaj.vm.LPrototype
 

O

OP_ADD - Static variable in class org.luaj.vm.Lua
 
OP_CALL - Static variable in class org.luaj.vm.Lua
 
OP_CLOSE - Static variable in class org.luaj.vm.Lua
 
OP_CLOSURE - Static variable in class org.luaj.vm.Lua
 
OP_CONCAT - Static variable in class org.luaj.vm.Lua
 
OP_DIV - Static variable in class org.luaj.vm.Lua
 
OP_EQ - Static variable in class org.luaj.vm.Lua
 
OP_FORLOOP - Static variable in class org.luaj.vm.Lua
 
OP_FORPREP - Static variable in class org.luaj.vm.Lua
 
OP_GETGLOBAL - Static variable in class org.luaj.vm.Lua
 
OP_GETTABLE - Static variable in class org.luaj.vm.Lua
 
OP_GETUPVAL - Static variable in class org.luaj.vm.Lua
 
OP_JMP - Static variable in class org.luaj.vm.Lua
 
OP_LE - Static variable in class org.luaj.vm.Lua
 
OP_LEN - Static variable in class org.luaj.vm.Lua
 
OP_LOADBOOL - Static variable in class org.luaj.vm.Lua
 
OP_LOADK - Static variable in class org.luaj.vm.Lua
 
OP_LOADNIL - Static variable in class org.luaj.vm.Lua
 
OP_LT - Static variable in class org.luaj.vm.Lua
 
OP_MOD - Static variable in class org.luaj.vm.Lua
 
OP_MOVE - Static variable in class org.luaj.vm.Lua
 
OP_MUL - Static variable in class org.luaj.vm.Lua
 
OP_NEWTABLE - Static variable in class org.luaj.vm.Lua
 
OP_NOT - Static variable in class org.luaj.vm.Lua
 
OP_POW - Static variable in class org.luaj.vm.Lua
 
OP_RETURN - Static variable in class org.luaj.vm.Lua
 
OP_SELF - Static variable in class org.luaj.vm.Lua
 
OP_SETGLOBAL - Static variable in class org.luaj.vm.Lua
 
OP_SETLIST - Static variable in class org.luaj.vm.Lua
 
OP_SETTABLE - Static variable in class org.luaj.vm.Lua
 
OP_SETUPVAL - Static variable in class org.luaj.vm.Lua
 
OP_SUB - Static variable in class org.luaj.vm.Lua
 
OP_TAILCALL - Static variable in class org.luaj.vm.Lua
 
OP_TEST - Static variable in class org.luaj.vm.Lua
 
OP_TESTSET - Static variable in class org.luaj.vm.Lua
 
OP_TFORLOOP - Static variable in class org.luaj.vm.Lua
 
OP_UNM - Static variable in class org.luaj.vm.Lua
 
OP_VARARG - Static variable in class org.luaj.vm.Lua
 
OpArgK - Static variable in class org.luaj.vm.Lua
 
OpArgN - Static variable in class org.luaj.vm.Lua
 
OpArgR - Static variable in class org.luaj.vm.Lua
 
OpArgU - Static variable in class org.luaj.vm.Lua
 
openFile(String, boolean, boolean, boolean, boolean) - Method in class org.luaj.lib.j2se.J2seIoLib
 
openFile(String) - Method in class org.luaj.vm.Platform
Return an InputStream or null if not found for a particular file name.
openProgram(String, String) - Method in class org.luaj.lib.j2se.J2seIoLib
 
optint(int, int) - Method in class org.luaj.vm.LuaState
If the function argument narg is a number, returns this number cast to an int.
optinteger(int, int) - Method in class org.luaj.vm.LuaState
If the function argument narg is a number, returns this number cast to a lua_Integer.
optlong(int, long) - Method in class org.luaj.vm.LuaState
If the function argument narg is a number, returns this number cast to a long.
optlstring(int, LString) - Method in class org.luaj.vm.LuaState
If the function argument narg is a string, returns this string.
optnumber(int, LNumber) - Method in class org.luaj.vm.LuaState
If the function argument narg is a number, returns this number.
optstring(int, String) - Method in class org.luaj.vm.LuaState
If the function argument narg is a string, returns this string.
org.luaj.compiler - package org.luaj.compiler
 
org.luaj.lib.j2se - package org.luaj.lib.j2se
 
org.luaj.vm - package org.luaj.vm
 

P

p - Variable in class org.luaj.vm.LClosure
 
p - Variable in class org.luaj.vm.LPrototype
 
panic - Variable in class org.luaj.vm.LuaState
 
pc - Variable in class org.luaj.vm.CallInfo
 
pcall(int, int, int) - Method in class org.luaj.vm.LuaState
Calls a function in protected mode.
Platform - Class in org.luaj.vm
Singleton to manage platform-specific behaviors.
Platform() - Constructor for class org.luaj.vm.Platform
 
pop(int) - Method in class org.luaj.vm.LuaState
Pops n elements from the stack.
poplvalue() - Method in class org.luaj.vm.LuaState
 
POS_A - Static variable in class org.luaj.vm.Lua
 
POS_B - Static variable in class org.luaj.vm.Lua
 
POS_Bx - Static variable in class org.luaj.vm.Lua
 
POS_C - Static variable in class org.luaj.vm.Lua
 
POS_OP - Static variable in class org.luaj.vm.Lua
 
prepStackCall() - Method in class org.luaj.vm.LuaState
Create a call frame for a call that has been set up on the stack.
Print - Class in org.luaj.vm
 
Print() - Constructor for class org.luaj.vm.Print
 
printCode(LPrototype) - Static method in class org.luaj.vm.Print
 
printFunction(LPrototype, boolean) - Method in class org.luaj.vm.Print
 
printOpCode(LPrototype, int) - Static method in class org.luaj.vm.Print
 
printOpCode(PrintStream, LPrototype, int) - Static method in class org.luaj.vm.Print
 
printState(LuaState, int, int, int, LClosure, int) - Static method in class org.luaj.vm.Print
 
ps - Static variable in class org.luaj.vm.Print
 
pushboolean(boolean) - Method in class org.luaj.vm.LuaState
Pushes a boolean value with value b onto the stack.
pushboolean(Boolean) - Method in class org.luaj.vm.LuaState
Push a Java Boolean value, or nil if the value is null.
pushfstring(String) - Method in class org.luaj.compiler.LuaC
 
pushfunction(LFunction) - Method in class org.luaj.vm.LuaState
Pushes a function onto the stack.
pushinteger(int) - Method in class org.luaj.vm.LuaState
Pushes a number with value n onto the stack.
pushinteger(Byte) - Method in class org.luaj.vm.LuaState
Push a Java Byte value, or nil if the value is null.
pushinteger(Character) - Method in class org.luaj.vm.LuaState
Push a Java Character value, or nil if the value is null.
pushinteger(Integer) - Method in class org.luaj.vm.LuaState
Push a Java Integer value, or nil if the value is null.
pushinteger(Short) - Method in class org.luaj.vm.LuaState
Push a Java Short value, or nil if the value is null.
pushlstring(LString) - Method in class org.luaj.vm.LuaState
Push an LString onto the stack.
pushlstring(byte[], int, int) - Method in class org.luaj.vm.LuaState
Push string bytes onto the stack as a string.
pushlstring(byte[]) - Method in class org.luaj.vm.LuaState
Push string bytes onto the stack as a string.
pushlvalue(LValue) - Method in class org.luaj.vm.LuaState
Push an LValue onto the stack.
pushnil() - Method in class org.luaj.vm.LuaState
Pushes a nil value onto the stack.
pushnumber(double) - Method in class org.luaj.vm.LuaState
Pushes a number with value d onto the stack.
pushnumber(Double) - Method in class org.luaj.vm.LuaState
Push a Java Double as a double, or nil if the value is null.
pushnumber(Float) - Method in class org.luaj.vm.LuaState
Push a Java Float value, or nil if the value is null.
pushnumber(Long) - Method in class org.luaj.vm.LuaState
Push a Java Long value, or nil if the value is null.
pushstring(String) - Method in class org.luaj.vm.LuaState
Push a String onto the stack.
pushuserdata(Object) - Method in class org.luaj.vm.LuaState
Push a Java Object as userdata, or nil if the value is null.
pushvalue(int) - Method in class org.luaj.vm.LuaState
Push a value from the stack onto the stack.
put(LValue, LValue) - Method in class org.luaj.vm.LTable
Generic put method for all types of keys, but does not use the metatable.
put(int, LValue) - Method in class org.luaj.vm.LTable
Method for putting an integer-keyed value.
put(String, LValue) - Method in class org.luaj.vm.LTable
Utility method for putting a string-keyed value directly, typically for initializing a table.
put(String, int) - Method in class org.luaj.vm.LTable
Utility method for putting a string key, int value directly, typically for initializing a table.

R

rawgeti(int, int) - Method in class org.luaj.vm.LuaState
Deprecated. should get the table and do a raw get instead
rehash() - Method in class org.luaj.vm.LTable
 
rehash() - Method in class org.luaj.vm.LWeakTable
 
remove(String) - Method in class org.luaj.lib.j2se.J2seOsLib
 
remove(int) - Method in class org.luaj.vm.LuaState
Remove an element from the stack.
rename(String, String) - Method in class org.luaj.lib.j2se.J2seOsLib
 
replace(int) - Method in class org.luaj.vm.LuaState
Replace an element on the stack.
resettop() - Method in class org.luaj.vm.LuaState
Set the top to the base.
resultbase - Variable in class org.luaj.vm.CallInfo
 
resumeFrom(LuaState, int) - Method in class org.luaj.vm.LThread
 
RKASK(int) - Static method in class org.luaj.vm.Lua
code a constant index as a RK value
run() - Method in class org.luaj.vm.LThread
 

S

score(LValue) - Method in interface org.luaj.lib.j2se.CoerceLuaToJava.Coercion
 
setfield(int, LString) - Method in class org.luaj.vm.LuaState
Set the value of a table field.
setglobal(String) - Method in class org.luaj.vm.LuaState
Set the value of a global variable.
sethook(LFunction, int, int) - Method in class org.luaj.vm.LuaState
Set the hook function.
setInstance(Platform) - Static method in class org.luaj.vm.Platform
Set the Platform instance.
settop(int) - Method in class org.luaj.vm.LuaState
Set the top of the stack.
setValue(LValue) - Method in class org.luaj.vm.UpVal
 
shutdown() - Method in class org.luaj.vm.LuaState
Perform any shutdown/clean up tasks if needed
size() - Method in class org.luaj.vm.LTable
Deprecated. this is not scalable. Does a linear search through the table. Use luaLength() instead.
SIZE_A - Static variable in class org.luaj.vm.Lua
 
SIZE_B - Static variable in class org.luaj.vm.Lua
 
SIZE_Bx - Static variable in class org.luaj.vm.Lua
 
SIZE_C - Static variable in class org.luaj.vm.Lua
 
SIZE_OP - Static variable in class org.luaj.vm.Lua
 
source - Variable in class org.luaj.vm.LPrototype
 
SOURCE_BINARY_STRING - Static variable in class org.luaj.vm.LoadState
Name for compiled chunks
sourceshort() - Method in class org.luaj.vm.LPrototype
 
stack - Variable in class org.luaj.vm.LuaState
 
start() - Method in interface org.luaj.vm.DebugNetSupport
Starts the networking for debug support.
startpc - Variable in class org.luaj.vm.LocVars
 
stop() - Method in interface org.luaj.vm.DebugNetSupport
Shuts down the networking for the debug support.
substring(int, int) - Method in class org.luaj.vm.LString
 

T

testAMode(int) - Static method in class org.luaj.vm.Lua
 
testTMode(int) - Static method in class org.luaj.vm.Lua
 
TM_INDEX - Static variable in class org.luaj.vm.LValue
Metatable tag for intercepting table gets
TM_METATABLE - Static variable in class org.luaj.vm.LValue
Metatable tag for intercepting table sets
TM_MODE - Static variable in class org.luaj.vm.LValue
Metatable tag for setting table mode
TM_NEWINDEX - Static variable in class org.luaj.vm.LValue
Metatable tag for intercepting table sets
tmpFile() - Method in class org.luaj.lib.j2se.J2seIoLib
 
tmpname() - Method in class org.luaj.lib.j2se.J2seOsLib
 
toboolean(int) - Method in class org.luaj.vm.LuaState
Get a value as a boolean.
toboxedboolean(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Boolean value, or null if the value is nil.
toboxedbyte(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Byte value, or null if the value is not a number.
toboxeddouble(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Double value, or null if the value is not a number.
toboxedfloat(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Float value, or null if the value is not a number.
toboxedinteger(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Integer value, or null if the value is not a number.
toboxedlong(int) - Method in class org.luaj.vm.LuaState
Convert a value to a Java Long value, or null if the value is nil.
tofunction(int) - Method in class org.luaj.vm.LuaState
Get a value as a LFunction.
toInputStream() - Method in class org.luaj.vm.LString
Produce an InputStream instance from which the bytes of this LString can be read.
tointeger(int) - Method in class org.luaj.vm.LuaState
Get a value as an int.
toJavaBoolean() - Method in class org.luaj.vm.LBoolean
 
toJavaBoolean() - Method in class org.luaj.vm.LNil
 
toJavaBoolean() - Method in class org.luaj.vm.LValue
Return value as a boolean
toJavaBoxedBoolean() - Method in class org.luaj.vm.LValue
Convert to a Boolean value
toJavaBoxedByte() - Method in class org.luaj.vm.LNil
 
toJavaBoxedByte() - Method in class org.luaj.vm.LNumber
Convert to a Byte value
toJavaBoxedByte() - Method in class org.luaj.vm.LValue
Convert to a Byte value
toJavaBoxedCharacter() - Method in class org.luaj.vm.LNil
 
toJavaBoxedCharacter() - Method in class org.luaj.vm.LNumber
Convert to a boxed Character value
toJavaBoxedCharacter() - Method in class org.luaj.vm.LValue
Convert to a boxed Character value
toJavaBoxedDouble() - Method in class org.luaj.vm.LNil
 
toJavaBoxedDouble() - Method in class org.luaj.vm.LNumber
Convert to a boxed Double value
toJavaBoxedDouble() - Method in class org.luaj.vm.LValue
Convert to a boxed Double value
toJavaBoxedFloat() - Method in class org.luaj.vm.LNil
 
toJavaBoxedFloat() - Method in class org.luaj.vm.LNumber
Convert to a boxed Float value
toJavaBoxedFloat() - Method in class org.luaj.vm.LValue
Convert to a boxed Float value
toJavaBoxedInteger() - Method in class org.luaj.vm.LNil
 
toJavaBoxedInteger() - Method in class org.luaj.vm.LNumber
Convert to a boxed Integer value
toJavaBoxedInteger() - Method in class org.luaj.vm.LValue
Convert to a boxed Integer value
toJavaBoxedLong() - Method in class org.luaj.vm.LNil
 
toJavaBoxedLong() - Method in class org.luaj.vm.LNumber
Convert to a boxed Long value
toJavaBoxedLong() - Method in class org.luaj.vm.LValue
Convert to a boxed Long value
toJavaBoxedShort() - Method in class org.luaj.vm.LNil
 
toJavaBoxedShort() - Method in class org.luaj.vm.LNumber
Convert to a boxed Short value
toJavaBoxedShort() - Method in class org.luaj.vm.LValue
Convert to a boxed Short value
toJavaByte() - Method in class org.luaj.vm.LValue
Return value as a byte
toJavaChar() - Method in class org.luaj.vm.LValue
Return value as a char
toJavaDouble() - Method in class org.luaj.vm.LDouble
 
toJavaDouble() - Method in class org.luaj.vm.LInteger
 
toJavaDouble() - Method in class org.luaj.vm.LValue
Return value as a double
toJavaFloat() - Method in class org.luaj.vm.LDouble
 
toJavaFloat() - Method in class org.luaj.vm.LInteger
 
toJavaFloat() - Method in class org.luaj.vm.LValue
Return value as a float
toJavaInstance() - Method in class org.luaj.vm.LUserData
 
toJavaInstance() - Method in class org.luaj.vm.LValue
Convert to a Java Object iff this is a LUserData value
toJavaInt() - Method in class org.luaj.vm.LBoolean
 
toJavaInt() - Method in class org.luaj.vm.LDouble
 
toJavaInt() - Method in class org.luaj.vm.LInteger
 
toJavaInt() - Method in class org.luaj.vm.LNil
 
toJavaInt() - Method in class org.luaj.vm.LValue
Return value as an integer
toJavaLong() - Method in class org.luaj.vm.LDouble
 
toJavaLong() - Method in class org.luaj.vm.LInteger
 
toJavaLong() - Method in class org.luaj.vm.LValue
Return value as a long
toJavaShort() - Method in class org.luaj.vm.LValue
Return value as a double
toJavaString() - Method in class org.luaj.vm.LBoolean
 
toJavaString() - Method in class org.luaj.vm.LDouble
 
toJavaString() - Method in class org.luaj.vm.LFunction
 
toJavaString() - Method in class org.luaj.vm.LInteger
 
toJavaString() - Method in class org.luaj.vm.LNil
 
toJavaString() - Method in class org.luaj.vm.LString
Convert to Java string using UTF-8 encoding
toJavaString() - Method in class org.luaj.vm.LTable
 
toJavaString() - Method in class org.luaj.vm.LThread
 
toJavaString() - Method in class org.luaj.vm.LUserData
 
toJavaString() - Method in class org.luaj.vm.LValue
Convert to a Java String
tolnumber(int) - Method in class org.luaj.vm.LuaState
Convert a value to an LNumber[-0, +0, -]
tolstring(int) - Method in class org.luaj.vm.LuaState
Gets the value of a string as byte array.
tonumber(int) - Method in class org.luaj.vm.LuaState
Convert a value to a double.
top - Variable in class org.luaj.vm.CallInfo
 
top - Variable in class org.luaj.vm.LuaState
 
topointer(int) - Method in class org.luaj.vm.LuaState
Get the raw Object at a stack location.
toString() - Method in class org.luaj.lib.j2se.LuajavaLib
 
tostring(int) - Method in class org.luaj.vm.LuaState
Get a stack value as a String.
toString() - Method in class org.luaj.vm.LValue
Override standard toString with lua String conversion by default
toString() - Method in class org.luaj.vm.UpVal
 
toStrongReference() - Method in class org.luaj.vm.LValue
Dereference a potentially weak reference, and return the value
totable(int) - Method in class org.luaj.vm.LuaState
Get a value from the stack as a lua table.
touserdata(int) - Method in class org.luaj.vm.LuaState
Get the Object from a userdata value.
TRUE - Static variable in class org.luaj.vm.LBoolean
 
type(int) - Method in class org.luaj.vm.LuaState
Get the type of a value.
TYPE_NAMES - Static variable in class org.luaj.vm.Lua
 
typename(int) - Method in class org.luaj.vm.LuaState
Get the type name for a value.
typerror(int, String) - Method in class org.luaj.vm.LuaState
Report a type error.
typerror(int, int) - Method in class org.luaj.vm.LuaState
Report a type error.

U

undump(LuaState, InputStream, String) - Static method in class org.luaj.vm.LoadState
 
unsupportedMathOp() - Method in class org.luaj.vm.Platform
Throw an error indicating the math operation is not accepted
UpVal - Class in org.luaj.vm
 
UpVal(LuaState, int) - Constructor for class org.luaj.vm.UpVal
 
upVals - Variable in class org.luaj.vm.LClosure
 
upvals - Variable in class org.luaj.vm.LuaState
 
upvalues - Variable in class org.luaj.vm.LPrototype
 

V

valueOf(boolean) - Static method in class org.luaj.vm.LBoolean
 
valueOf(double) - Static method in class org.luaj.vm.LDouble
 
valueOf(int) - Static method in class org.luaj.vm.LInteger
Get an LInteger corresponding to a particular int value
valueOf(double) - Static method in class org.luaj.vm.LString
 
valueOf(int) - Static method in class org.luaj.vm.LString
 
valueOf(String) - Static method in class org.luaj.vm.LString
 
values - Variable in class org.luaj.lib.j2se.LuajavaLib.ParamsList
 
VARARG_HASARG - Static variable in class org.luaj.vm.Lua
masks for new-style vararg
VARARG_ISVARARG - Static variable in class org.luaj.vm.Lua
 
VARARG_NEEDSARG - Static variable in class org.luaj.vm.Lua
 
varname - Variable in class org.luaj.vm.LocVars
 
vm - Variable in class org.luaj.vm.LThread
 
vmerror(String) - Static method in class org.luaj.vm.LuaState
Method to indicate a vm internal error has occurred.

W

wrapStdin() - Method in class org.luaj.lib.j2se.J2seIoLib
 
wrapStdout() - Method in class org.luaj.lib.j2se.J2seIoLib
 
write(OutputStream, int, int) - Method in class org.luaj.vm.LString
Write the specified substring of this string to the given output stream.
write(OutputStream) - Method in class org.luaj.vm.LString
 

X

xmove(LuaState, int) - Method in class org.luaj.vm.LuaState
Exchange values between threads.

Y

yield() - Method in class org.luaj.vm.LThread
 

_

__index(LuaState, LValue, LValue) - Method in class org.luaj.vm.LFunction
Process lua tag method __index when it points to a function.
__newindex(LuaState, LValue, LValue, LValue) - Method in class org.luaj.vm.LFunction
Process lua tag method __newindex when it points to a function Default method calls the function using the vm.
_assert(boolean) - Static method in class org.luaj.compiler.LuaC
 
_G - Variable in class org.luaj.vm.LuaState
 
_VERSION - Static variable in class org.luaj.vm.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 X Y _

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