Uses of Class
com.prineside.luaj.LuaValue
Packages that use LuaValue
Package
Description
Lua VM, only works in an interpreted mode, which allows it to support iOS.
- 
Uses of LuaValue in com.prineside.luaj
Subclasses of LuaValue in com.prineside.luajModifier and TypeClassDescriptionfinal classGlobal environment used by luaj.final classExtension ofLuaValuewhich can hold a Java boolean as its value.final classclassBase class for functions implemented in Java.classClass to encapsulate behavior of the singleton instancenilfinal classfinal classSubclass ofLuaValuefor representing lua strings.classSubclass ofLuaValuefor representing lua tables.classstatic final classVarargs implemenation with no values.static final classInternal class to implement weak userdata values.static classInternal class to implement weak values.Fields in com.prineside.luaj declared as LuaValueModifier and TypeFieldDescriptionfinal LuaValue[]FPrototype.kLuaValue[]Prototype.kLuaUserdata.m_metatablestatic final LuaValueLuaValue.NILLuaValue constant corresponding to lua#NILstatic final LuaValue[]LuaValue.NILSArray ofNILvalues to optimize filling stacks using System.arraycopy().static final LuaValueLuaValue.NONELuaValue constant corresponding to aVarargslist of no valuesstatic final LuaValue[]LuaValue.NOVALSLuaValue array constant with no valuesLuaError.objectstatic LuaValueLuaNumber.s_metatableShared static metatable for all number values represented in lua.static LuaValueLuaString.s_metatableThe singleton instance for string metatables that forwards to the string functions.Methods in com.prineside.luaj that return LuaValueModifier and TypeMethodDescriptionLuaNumber.add(double lhs) LuaString.add(double rhs) LuaString.add(int rhs) LuaValue.add(double rhs) Add: Perform numeric add operation with another value of double type with metatag processingLuaValue.add(int rhs) Add: Perform numeric add operation with another value of int type with metatag processingAdd: Perform numeric add operation with another value including metatag processing.Perform booleanandwith another operand, based on lua rules for boolean evaluation.LuaValue.arg(int index) LuaValue.None.arg(int i) TailcallVarargs.arg(int i) abstract LuaValueVarargs.arg(int i) Get the n-th argument value (1-based).Varargs.ArrayVarargs.arg(int i) LuaValue.arg1()LuaValue.None.arg1()TailcallVarargs.arg1()abstract LuaValueVarargs.arg1()Get the first argument in the list.Varargs.ArrayVarargs.arg1()static LuaValueThrow aLuaErrorindicating an invalid argument was supplied to a functionLuaClosure.call()LuaValue.call()Callthiswith 0 arguments, including metatag processing, and return only the first return value.Callthiswith 1 argument, including metatag processing, and return only the first return value.Callthiswith 2 arguments, including metatag processing, and return only the first return value.Callthiswith 3 arguments, including metatag processing, and return only the first return value.Convenience function which calls a luavalue with a single, string argument.final LuaValueLuaNil.checknotnil()LuaValue.checknotnil()Varargs.checknotnil(int i) Return argument i as a LuaValue if it is not nil, or throw an error if it is nil.Varargs.checkvalue(int i) Return argument i as a LuaValue if it exists, or throw an error.static LuaValuePerform metatag processing for comparison operations.final LuaValueConcatenate the contents of a table efficiently, usingBufferConcatenate another value onto this value and return the result using rules of lua string concatenation including metatag processing.Perform metatag processing for concatenation operations.Reverse-concatenation: concatenate this value onto another value known to be aLuaNumberand return the result using rules of lua string concatenation including metatag processing.Reverse-concatenation: concatenate this value onto another value known to be aLuaStringand return the result using rules of lua string concatenation including metatag processing.Reverse-concatenation: concatenate this value onto another value whose type is unknwon and return the result using rules of lua string concatenation including metatag processing.static LuaValueLuaValue.cRegObject(Object val) For regular objects only.static LuaValueLuaNumber.ddiv(double lhs, double rhs) Divide two double numbers according to lua math, and return aLuaValueresult.LuaNumber.div(double rhs) LuaNumber.div(int rhs) LuaString.div(double rhs) LuaString.div(int rhs) LuaValue.div(double rhs) Divide: Perform numeric divide operation by another value of double type without metatag processingLuaValue.div(int rhs) Divide: Perform numeric divide operation by another value of int type without metatag processingDivide: Perform numeric divide operation by another value of unknown type, including metatag processing.LuaNumber.divInto(double lhs) LuaString.divInto(double lhs) LuaValue.divInto(double lhs) Reverse-divide: Perform numeric divide operation into another value with metatag processingstatic LuaValueLuaNumber.dmod(double lhs, double rhs) Take modulo double numbers according to lua math, and return aLuaValueresult.final LuaValuefinal LuaValueEquals: Perform equality comparison with another value including metatag processing usingEQ.static LuaValueThrow aLuaErrorwith a particular messagefinal LuaValueLuaTable.get(int key) final LuaValueLuaValue.get(int key) Get a value in a table including metatag processing usingINDEX.Get a value in a table including metatag processing usingINDEX.Get a value in a table including metatag processing usingINDEX.Globals.getErrorFunc()LuaError.getMessageObject()Get the LuaValue that was provided in the constructor, or a LuaString containing the message if it was a string error argument.LuaBoolean.getmetatable()final LuaValueLuaFunction.getmetatable()final LuaValueLuaNil.getmetatable()LuaNumber.getmetatable()LuaString.getmetatable()final LuaValueLuaTable.getmetatable()final LuaValueLuaUserdata.getmetatable()LuaValue.getmetatable()Get the metatable for thisLuaValuefinal LuaValueUpValue.getValue()Get the value of the upvalueLuaNumber.gt(double rhs) LuaNumber.gt(int rhs) LuaValue.gt(double rhs) Greater than: Perform numeric comparison with another value of double type, including metatag processing, and returningLuaValue.LuaValue.gt(int rhs) Greater than: Perform numeric comparison with another value of int type, including metatag processing, and returningLuaValue.Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.LuaNumber.gteq(double rhs) LuaNumber.gteq(int rhs) LuaValue.gteq(double rhs) Greater than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returningLuaValue.LuaValue.gteq(int rhs) Greater than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returningLuaValue.Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.LuaTable.IntKeyEntry.key()LuaTable.LinkSlot.key()LuaTable.NormalEntry.key()LuaTable.NumberValueEntry.key()final LuaValue[]LuaTable.keys()This may be deprecated in a future release.LuaString.len()final LuaValueLuaTable.len()LuaValue.len()Length operator: return lua length of object(#this)including metatag processing as java intGlobals.load(InputStream is, String chunkname, String mode, LuaValue environment) Load the content form an input stream as a binary chunk or text file.Load the content form a reader as a text file.Load the content form a reader as a text file, supplying a custom environment.Convenience function to load a string value as a script.Convenience function to load a string value as a script.Convenience function to load a string value as a script with a custom environment.Load a library instance by calling it with and empty string as the modname, and this Globals as the environment.Convenience function for loading a file that is either binary lua or lua source.static LuaValueLoadState.longBitsToLuaNumber(long bits) Convert bits in a long value to aLuaValue.LuaNumber.lt(double rhs) LuaNumber.lt(int rhs) LuaValue.lt(double rhs) Less than: Perform numeric comparison with another value of double type, including metatag processing, and returningLuaValue.LuaValue.lt(int rhs) Less than: Perform numeric comparison with another value of int type, including metatag processing, and returningLuaValue.Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.LuaNumber.lteq(double rhs) LuaNumber.lteq(int rhs) LuaValue.lteq(double rhs) Less than or equals: Perform numeric comparison with another value of double type, including metatag processing, and returningLuaValue.LuaValue.lteq(int rhs) Less than or equals: Perform numeric comparison with another value of int type, including metatag processing, and returningLuaValue.Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.Get particular metatag, or returnNILif it doesn't existCall named method onthiswith 0 arguments, including metatag processing, and return only the first return value.Call named method onthiswith 1 argument, including metatag processing, and return only the first return value.Call named method onthiswith 2 arguments, including metatag processing, and return only the first return value.Call named method onthiswith 0 arguments, including metatag processing, and return only the first return value.Call named method onthiswith 1 argument, including metatag processing, and return only the first return value.Call named method onthiswith 2 arguments, including metatag processing, and return only the first return value.LuaNumber.mod(double rhs) LuaNumber.mod(int rhs) LuaString.mod(double rhs) LuaString.mod(int rhs) LuaValue.mod(double rhs) Modulo: Perform numeric modulo operation with another value of double type without metatag processingLuaValue.mod(int rhs) Modulo: Perform numeric modulo operation with another value of int type without metatag processingModulo: Perform numeric modulo operation with another value of unknown type, including metatag processing.LuaNumber.modFrom(double lhs) LuaString.modFrom(double lhs) LuaValue.modFrom(double lhs) Reverse-modulo: Perform numeric modulo operation from another value with metatag processingLuaNumber.mul(double lhs) LuaNumber.mul(int lhs) LuaString.mul(double rhs) LuaString.mul(int rhs) LuaValue.mul(double rhs) Multiply: Perform numeric multiply operation with another value of double type with metatag processingLuaValue.mul(int rhs) Multiply: Perform numeric multiply operation with another value of int type with metatag processingMultiply: Perform numeric multiply operation with another value of unknown type, including metatag processing.LuaNumber.neg()LuaString.neg()LuaValue.neg()Unary minus: return negative value(-this)as defined by lua unary minus operatorNotquals: Perform inequality comparison with another value including metatag processing usingEQ.LuaBoolean.not()final LuaValueLuaNil.not()LuaValue.not()Unary not: return inverse boolean value(~this)as defined by lua not operatorfinal LuaValuePerform argument check that this is not nil or none.Return argument i as a LuaValue if it exists, ordefval.Perform booleanorwith another operand, based on lua rules for boolean evaluation.LuaNumber.pow(double rhs) LuaNumber.pow(int rhs) LuaString.pow(double rhs) LuaString.pow(int rhs) LuaValue.pow(double rhs) Raise to power: Raise this value to a power of double type with metatag processingLuaValue.pow(int rhs) Raise to power: Raise this value to a power of int type with metatag processingRaise to power: Raise this value to a power including metatag processing.LuaNumber.powWith(double lhs) LuaNumber.powWith(int lhs) LuaString.powWith(double lhs) LuaString.powWith(int lhs) LuaValue.powWith(double lhs) Reverse-raise to power: Raise another value of double type to this power with metatag processingLuaValue.powWith(int lhs) Reverse-raise to power: Raise another value of double type to this power with metatag processingfinal LuaValueLuaTable.rawget(int key) final LuaValueLuaValue.rawget(int key) Get a value in a table without metatag processing.Get a value in a table without metatag processing.Get a value in a table without metatag processing.LuaTable.remove(int pos) Remove the element at a position in a list-tableLuaTable.setmetatable(LuaValue metatable) final LuaValueLuaUserdata.setmetatable(LuaValue metatable) LuaValue.setmetatable(LuaValue metatable) Set the metatable for thisLuaValueWeakTable.WeakKeyAndValueSlot.strongkey()WeakTable.WeakKeySlot.strongkey()WeakTable.WeakSlot.strongkey()LuaValue.strongvalue()Return this value as a strong reference, or null if it was weak and is no longer referenced.WeakTable.WeakKeyAndValueSlot.strongvalue()WeakTable.WeakSlot.strongvalue()WeakTable.WeakUserdata.strongvalue()WeakTable.WeakValue.strongvalue()WeakTable.WeakValueSlot.strongvalue()LuaNumber.sub(double rhs) LuaNumber.sub(int rhs) LuaString.sub(double rhs) LuaString.sub(int rhs) LuaValue.sub(double rhs) Subtract: Perform numeric subtract operation with another value of double type with metatag processingLuaValue.sub(int rhs) Subtract: Perform numeric subtract operation with another value of int type with metatag processingSubtract: Perform numeric subtract operation with another value of unknown type, including metatag processing.LuaNumber.subFrom(double lhs) LuaString.subFrom(double lhs) LuaValue.subFrom(double lhs) Reverse-subtract: Perform numeric subtract operation from an int value with metatag processingLuaValue.subFrom(int lhs) Reverse-subtract: Perform numeric subtract operation from a double value without metatag processingLuaTable.toLuaValue()WeakTable.toLuaValue()LuaNumber.tonumber()LuaString.tonumber()convert to a number using baee 10 or base 16 if it starts with '0x', or NIL if it can't be convertedLuaString.tonumber(int base) convert to a number using a supplied base, or NIL if it can't be convertedLuaValue.tonumber()Conditionally convert to lua number without throwing errors.LuaNumber.tostring()LuaString.tostring()LuaValue.tostring()Conditionally convert to lua string without throwing errors.Buffer.value()Get buffer contents as aLuaValueLuaTable.IntKeyEntry.value()LuaTable.LinkSlot.value()LuaTable.NormalEntry.value()LuaTable.NumberValueEntry.value()Methods in com.prineside.luaj with parameters of type LuaValueModifier and TypeMethodDescriptionAdd: Perform numeric add operation with another value including metatag processing.Perform booleanandwith another operand, based on lua rules for boolean evaluation.final BufferAppend aLuaValueto the buffer.Callthiswith 1 argument, including metatag processing, and return only the first return value.Callthiswith 2 arguments, including metatag processing, and return only the first return value.Callthiswith 3 arguments, including metatag processing, and return only the first return value.Perform metatag processing for comparison operations.Concatenate another value onto this value and return the result using rules of lua string concatenation including metatag processing.Perform metatag processing for concatenation operations.Concatenate this buffer onto aLuaValueReverse-concatenation: concatenate this value onto another value whose type is unknwon and return the result using rules of lua string concatenation including metatag processing.Divide: Perform numeric divide operation by another value of unknown type, including metatag processing.final LuaTable.Slotfinal LuaValuefinal LuaValueEquals: Perform equality comparison with another value including metatag processing usingEQ.booleanbooleanfinal booleanfinal booleanbooleanEquals: Perform equality comparison with another value including metatag processing usingEQ, and return java booleanfinal booleanstatic booleanPerform equality testing metatag processingcom.prineside.luaj.LuaTable.StrongSlotcom.prineside.luaj.LuaTable.StrongSlotcom.prineside.luaj.LuaTable.StrongSlotCompare given key with first()'s key; return first() if equal.com.prineside.luaj.LuaTable.StrongSlotfinal LuaValueGet a value in a table including metatag processing usingINDEX.Greater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.booleanbooleanbooleanGreater than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.Greater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.booleanbooleanbooleanGreater than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.final voidSet a hashtable valuestatic intFind the hashtable slot index to use.final VarargsGet the next element after a particular key in the contiguous array part of a tablevoidLuaValue.initupvalue1(LuaValue env) Hook for implementations such as LuaJC to load the environment of the main chunk into the first upvalue location.final voidInsert an element at a position in a list-tableCallthiswith variable arguments, including metatag processing, and retain all return values in aVarargs.Callthiswith variable arguments, including metatag processing, and retain all return values in aVarargs.LuaValue.invokemethod(LuaValue name) Call named method onthiswith 0 arguments, including metatag processing, and retain all return values in aVarargs.LuaValue.invokemethod(LuaValue name, Varargs args) Call named method onthiswith variable arguments, including metatag processing, and retain all return values in aVarargs.booleanbooleanbooleanbooleanbooleanbooleanCompare given key with first()'s key; return true if equal.booleanstatic LuaTableConstruct aLuaTableinitialized with supplied array values.static LuaTableConstruct aLuaTableinitialized with supplied array values.Globals.load(InputStream is, String chunkname, String mode, LuaValue environment) Load the content form an input stream as a binary chunk or text file.Convert the prototype into a LuaFunction with the supplied environment.Load a library instance by calling it with and empty string as the modname, and this Globals as the environment.Less than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.booleanbooleanbooleanLess than: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.Less than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returningLuaValue.booleanbooleanbooleanLess than or equals: Perform numeric or string comparison with another value of unknown type, including metatag processing, and returning java boolean.Get particular metatag, or returnNILif it doesn't existCall named method onthiswith 0 arguments, including metatag processing, and return only the first return value.Call named method onthiswith 1 argument, including metatag processing, and return only the first return value.Call named method onthiswith 2 arguments, including metatag processing, and return only the first return value.Call named method onthiswith 1 argument, including metatag processing, and return only the first return value.Call named method onthiswith 2 arguments, including metatag processing, and return only the first return value.Modulo: Perform numeric modulo operation with another value of unknown type, including metatag processing.Multiply: Perform numeric multiply operation with another value of unknown type, including metatag processing.Notquals: Perform inequality comparison with another value including metatag processing usingEQ.booleanNotquals: Perform inequality comparison with another value including metatag processing usingEQ.final VarargsGet the next element after a particular key in the tablefinal LuaValuePerform argument check that this is not nil or none.Return argument i as a LuaValue if it exists, ordefval.Perform booleanorwith another operand, based on lua rules for boolean evaluation.Raise to power: Raise this value to a power including metatag processing.static voidPrint.printStack(LuaValue[] stack, int top, Varargs varargs) static voidPrint.printState(LuaClosure cl, int pc, LuaValue[] stack, int top, Varargs varargs) Print the state of aLuaClosurethat is being executedbooleanbooleanfinal booleanbooleanEquals: Perform direct equality comparison with another value without metatag processing.booleanfinal LuaValueGet a value in a table without metatag processing.voidvoidcaller must ensure key is not nilvoidSet a value in a table without metatag processing.voidSet a value in a table without metatag processing.voidSet a value in a table without metatag processing.com.prineside.luaj.LuaTable.Entrycom.prineside.luaj.LuaTable.Entrycom.prineside.luaj.LuaTable.Entryvoidfinal voidcaller must ensure key is not nilSet the value of this Slot's first Entry, if possible, or return a new Slot whose first entry has the given value.voidvoidSet a value in a table without metatag processing usingNEWINDEX.voidSet a value in a table without metatag processing usingNEWINDEX.voidSet a value in a table without metatag processing usingNEWINDEX.abstract LuaTable.SlotvoidGlobals.setErrorFunc(LuaValue v) LuaTable.setmetatable(LuaValue metatable) final LuaValueLuaUserdata.setmetatable(LuaValue metatable) LuaValue.setmetatable(LuaValue metatable) Set the metatable for thisLuaValueSet buffer contents as aLuaValuefinal voidSet the value of the upvaluefinal voidSort the table using a comparator.intintPerform string comparison with another value of any type using string comparison based on byte values.Subtract: Perform numeric subtract operation with another value of unknown type, including metatag processing.static LuaTableConstruct aLuaTableinitialized with supplied named values.static LuaTableConstruct aLuaTableinitialized with supplied named values and sequential elements.static LuaTableConstruct aLuaTableinitialized with supplied named values and sequential elements in an array part and as varargs.static VarargsLuaValue.tailcallOf(LuaValue func, Varargs args) Construct aTailcallVarargsaround a function and arguments.booleanPerform end-condition test in for-loop processing.static LuaUserdataLuaValue.userdataOf(Object o, LuaValue metatable) Construct a LuaUserdata for an object with a user supplied metatable.static Varargsstatic Varargsstatic Varargsstatic Varargsstatic Varargsstatic VarargsvoidLuaValue.NillableSerializer.writeClassAndObject(Kryo kryo, Output output, LuaValue object) voidLuaValue.NillableSerializer.writeClassAndObject(Kryo kryo, Output output, LuaValue[] objects) Constructors in com.prineside.luaj with parameters of type LuaValueModifierConstructorDescriptionCreate buffer with specified initial valueFPrototype(LuaValue[] k, int[] code, FPrototype[] p, short[] lineinfo, LocVars[] locvars, Upvaldesc[] upvalues, LuaString source, short linedefined, short lastlinedefined, byte numparams, boolean is_vararg, byte maxstacksize) LuaClosure(FPrototype p, LuaValue env) Create a closure around a Prototype with a specific environment.Construct a LuaError with a LuaValue as the message object, and level to draw line number information from.Construct table with named and unnamed parts.LuaUserdata(Object obj, LuaValue metatable) TailcallVarargs(LuaValue f, Varargs args) Create an upvalue relative to a stackConstruct a table with weak keys, weak values, or both - 
Uses of LuaValue in com.prineside.luaj.ast
Fields in com.prineside.luaj.ast declared as LuaValueModifier and TypeFieldDescriptionVariable.initialValueWhen hasassignments == false, and the initial value is a constant, this is the initial valuefinal LuaValueExp.Constant.valueMethods in com.prineside.luaj.ast with parameters of type LuaValueConstructors in com.prineside.luaj.ast with parameters of type LuaValue - 
Uses of LuaValue in com.prineside.luaj.compiler
Methods in com.prineside.luaj.compiler that return LuaValueModifier and TypeMethodDescriptionLuaC.load(InputStream stream, String chunkname, Globals globals) Deprecated.Use Globals.load(InputString, String, String) instead, or LuaC.compile(InputStream, String) and construct LuaClosure directly.Methods in com.prineside.luaj.compiler with parameters of type LuaValueModifier and TypeMethodDescription - 
Uses of LuaValue in com.prineside.luaj.debug
Methods in com.prineside.luaj.debug with parameters of type LuaValueModifier and TypeMethodDescriptionvoidCallStack.onCall(LuaClosure function, Varargs varargs, LuaValue[] stack)  - 
Uses of LuaValue in com.prineside.luaj.lib
Subclasses of LuaValue in com.prineside.luaj.libModifier and TypeClassDescriptionclassSubclass ofLibFunctionwhich implements the lua basic library functions.static final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classclassSubclass of LibFunction that implements the Lua standardbit32library.static final classstatic final classfinal classstatic final classclassAbstract base class extendingLibFunctionwhich implements the core of the lua standardiolibrary.static final classclassSubclass ofLuaFunctioncommon to Java functions exposed to lua.classSubclass ofLibFunctionwhich implements the lua standardmathlibrary.static final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic classstatic final classstatic classstatic classstatic classstatic final classstatic final classstatic classstatic classstatic final classstatic final classstatic final classclassAbstract base class for Java function implementations that take one argument and return one value.classSubclass ofLibFunctionwhich implements the standard luaoslibrary.static classclassSubclass ofLibFunctionwhich implements the lua standard package and module library functions.static classstatic classCalled second Calls _G.package.searchpath(name, _G.package.path) and then globals.loadfile() if foundstatic classCalled first Searches in preloaded packages (_G.package.preload table)static classrequire (modname) Loads the given module.static classclassSubclass ofLibFunctionwhich implements the lua standardstringlibrary.static final classstring.byte (s [, i [, j]]) Returns the internal numerical codes of the characters s[i], s[i+1], ..., s[j].static final classstring.char (...) Receives zero or more integers.static final classstatic final classstatic final classstring.dump (function[, stripDebug]) Returns a string containing a binary representation of the given function, so that a later loadstring on this string returns a copy of the function.static final classstatic final classstring.find (s, pattern [, init [, plain]]) Looks for the first match of pattern in the string s.static final classstring.format (formatstring, ...) Returns a formatted version of its variable number of arguments following the description given in its first argument (which must be a string).static final classstring.gmatch (s, pattern) Returns an iterator function that, each time it is called, returns the next captures from pattern over string s.static final classstring.gsub (s, pattern, repl [, n]) Returns a copy of s in which all (or the first n, if given) occurrences of the pattern have been replaced by a replacement string specified by repl, which may be a string, a table, or a function.static final classstring.len (s) Receives a string and returns its length.static final classstring.lower (s) Receives a string and returns a copy of this string with all uppercase letters changed to lowercase.static final classstring.match (s, pattern [, init]) Looks for the first match of pattern in the string s.static final classstring.rep (s, n) Returns a string that is the concatenation of n copies of the string s.static final classstatic final classstatic final classstring.reverse (s) Returns a string that is the string s reversed.static final classstatic final classstatic final classstring.sub (s, i [, j]) Returns the substring of s that starts at i and continues until j; i and j may be negative.static final classstatic final classstring.upper (s) Receives a string and returns a copy of this string with all lowercase letters changed to uppercase.classSubclass ofLibFunctionwhich implements the lua standardtablelibrary.static classstatic classstatic classstatic classstatic classstatic classclassAbstract base class for Java function implementations that take two arguments and return one value.classAbstract base class for Java function implementations that take two arguments and return one value.classAbstract base class for Java function implementations that takes varaiable arguments and returns multiple return values.classAbstract base class for Java function implementations that take no arguments and return one value.Methods in com.prineside.luaj.lib that return LuaValueModifier and TypeMethodDescriptionPerform one-time initialization on the library by adding base functions to the supplied environment, and returning it as the return value.BaseLib.getmetatable.call()BaseLib.rawequal.call()Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.LibFunction.call()Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.MathLib.random.call()final LuaValueOneArgFunction.call()abstract LuaValuefinal LuaValuePerform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by adding package functions to the supplied environment, and returning it as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.final LuaValueThreeArgFunction.call()final LuaValueabstract LuaValuefinal LuaValueTwoArgFunction.call()final LuaValueabstract LuaValueVarArgFunction.call()abstract LuaValueZeroArgFunction.call()static LuaValueMathLib.dpow(double a, double b) compute power using installed math library, or default if there is no math library installedstatic LuaValueIoLib.freadall(com.prineside.luaj.lib.IoLib.File f) static LuaValueIoLib.freadbytes(com.prineside.luaj.lib.IoLib.File f, int count) static LuaValueIoLib.freadline(com.prineside.luaj.lib.IoLib.File f, boolean withend) static LuaValueIoLib.freadnumber(com.prineside.luaj.lib.IoLib.File f) static LuaValueIoLib.freaduntil(com.prineside.luaj.lib.IoLib.File f, boolean lineonly, boolean withend) Methods in com.prineside.luaj.lib with parameters of type LuaValueModifier and TypeMethodDescriptionIoLib._file_close(LuaValue file) IoLib._file_flush(LuaValue file) IoLib._file_read(LuaValue file, Varargs subargs) IoLib._file_seek(LuaValue file, String whence, int offset) IoLib._file_setvbuf(LuaValue file, String mode, int size) IoLib._file_write(LuaValue file, Varargs subargs) IoLib._io_output(LuaValue filename) IoLib._lines_iter(LuaValue file, boolean toclose, Varargs args) Perform one-time initialization on the library by adding base functions to the supplied environment, and returning it as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.abstract LuaValuefinal LuaValuePerform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by adding package functions to the supplied environment, and returning it as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.final LuaValueabstract LuaValuefinal LuaValueabstract LuaValueLoad from a named file, returning the chunk or nil,error of can't loadBaseLib.loadStream(InputStream is, String chunkname, String mode, LuaValue env)  - 
Uses of LuaValue in com.prineside.luaj.lib.jse
Subclasses of LuaValue in com.prineside.luaj.lib.jseModifier and TypeClassDescriptionfinal classfinal classLuaValue that represents a Java class.static final classstatic final classA Java method as an object.final classLuaValue that represents a particular public Java constructor.classLuaValue that represents a Java instance.classJava method or constructor.final classLuaValue that represents a Java method.static final classfinal classSubclass ofBaseLibandLibFunctionwhich implements the lua basic library functions and provides a directory basedResourceFinderas theGlobals.finder.classSubclass ofIoLiband thereforeLibFunctionwhich implements the lua standardiolibrary for the JSE platform.final classSubclass ofLibFunctionwhich implements the lua standardmathlibrary.static final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classclassSubclass ofLibFunctionwhich implements the standard luaoslibrary.final classfinal classFields in com.prineside.luaj.lib.jse declared as LuaValueMethods in com.prineside.luaj.lib.jse that return LuaValueModifier and TypeMethodDescriptionJavaClass.call()JavaMethod.call()JavaMethod.Overload.call()Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.static LuaValueCoerse a Java object to a corresponding lua value.JavaClass.getConstructor()JavaMethod.Overload.invokeBestMethod(Object instance, Varargs args) JavaArray.len()JavaInstance.len()Methods in com.prineside.luaj.lib.jse that return types with arguments of type LuaValueMethods in com.prineside.luaj.lib.jse with parameters of type LuaValueModifier and TypeMethodDescriptionPerform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.Perform one-time initialization on the library by creating a table containing the library functions, adding that table to the supplied environment, adding the table to package.loaded, and returning table as the return value.static ObjectCoerce a LuaValue value to a specified java classJavaClass.getObjectFieldOrMethod(LuaValue key) voidvoidvoid - 
Uses of LuaValue in com.prineside.tdi2.managers.script
Subclasses of LuaValue in com.prineside.tdi2.managers.scriptModifier and TypeClassDescriptionclassRead-only LuaTable which stores a part of the class tree and allows to be properly serialized in case user stores a part of the tree in a separate variablefinal classRead-only LuaTable which stores all aliases (shortcuts) to the classesclassFields in com.prineside.tdi2.managers.script declared as LuaValueMethods in com.prineside.tdi2.managers.script that return LuaValueModifier and TypeMethodDescriptionClassTreeLuaTable.remove(int pos) GlobalCLuaTable.remove(int pos) ReadOnlyLuaTable.remove(int pos) ClassTreeLuaTable.setmetatable(LuaValue metatable) GlobalCLuaTable.setmetatable(LuaValue metatable) ReadOnlyLuaTable.setmetatable(LuaValue metatable) ClassTreeLuaTable.tostring()GlobalCLuaTable.tostring()Methods in com.prineside.tdi2.managers.script with parameters of type LuaValueModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidClassTreeLuaTable.setmetatable(LuaValue metatable) GlobalCLuaTable.setmetatable(LuaValue metatable) ReadOnlyLuaTable.setmetatable(LuaValue metatable) Constructors in com.prineside.tdi2.managers.script with parameters of type LuaValueModifierConstructorDescriptionClassTreeLuaTable(LuaValue table) Copies the table into ReadOnly recursivelyGlobalCLuaTable(LuaValue table) Copies the table into ReadOnly recursivelyReadOnlyLuaTable(LuaValue table) Copies the table into ReadOnly recursively - 
Uses of LuaValue in com.prineside.tdi2.utils
Methods in com.prineside.tdi2.utils with parameters of type LuaValue