Uses of Class
com.prineside.luaj.LuaString
Packages that use LuaString
Package
Description
Lua VM, only works in an interpreted mode, which allows it to support iOS.
-
Uses of LuaString in com.prineside.luaj
Fields in com.prineside.luaj declared as LuaStringModifier and TypeFieldDescriptionstatic final LuaString
LuaValue.ADD
LuaString constant with value "__add" for use as metatagstatic final LuaString
LuaValue.CALL
LuaString constant with value "__call" for use as metatagstatic final LuaString
LuaValue.CONCAT
LuaString constant with value "__concat" for use as metatagstatic final LuaString
LuaValue.DIV
LuaString constant with value "__div" for use as metatagstatic final LuaString
LuaValue.EMPTYSTRING
LuaString constant with value ""static LuaString
LuaValue.ENV
The variable name of the environment.static final LuaString
LuaValue.EQ
LuaString constant with value "__eq" for use as metatagstatic final LuaString
LuaValue.INDEX
LuaString constant with value "__index" for use as metatagstatic final LuaString
LuaValue.IPAIRS
LuaString constant with value "__ipairs" for use as metatagstatic final LuaString
LuaValue.LE
LuaString constant with value "__le" for use as metatagstatic final LuaString
LuaValue.LEN
LuaString constant with value "__len" for use as metatagstatic final LuaString
LuaValue.LT
LuaString constant with value "__lt" for use as metatagstatic final LuaString
LuaValue.METATABLE
LuaString constant with value "__metatable" for use as metatagstatic final LuaString
LuaValue.MOD
LuaString constant with value "__mod" for use as metatagstatic final LuaString
LuaValue.MODE
LuaString constant with value "__mode" for use as metatagstatic final LuaString
LuaValue.MUL
LuaString constant with value "__mul" for use as metatagUpvaldesc.name
static final LuaString
LuaValue.NEWINDEX
LuaString constant with value "__newindex" for use as metatagstatic final LuaString
LuaValue.PAIRS
LuaString constant with value "__ipairs" for use as metatagstatic final LuaString
LuaValue.POW
LuaString constant with value "__pow" for use as metatagfinal LuaString
FPrototype.source
Prototype.source
static final LuaString
LuaValue.SUB
LuaString constant with value "__sub" for use as metatagstatic final LuaString
LuaValue.TOSTRING
LuaString constant with value "__tostring" for use as metatagstatic final LuaString
LuaValue.UNM
LuaString constant with value "__unm" for use as metatagLocVars.varname
The local variable nameMethods in com.prineside.luaj that return LuaStringModifier and TypeMethodDescriptionLuaNumber.checkstring()
LuaString.checkstring()
LuaValue.checkstring()
Check that this is a lua string, or throwLuaError
if it is not.Varargs.checkstring
(int i) Return argument i as a LuaString if a string or number, or throw an error if any other typeFPrototype.getlocalname
(int number, int pc) Get the name of a local variable.Prototype.getlocalname
(int number, int pc) Get the name of a local variable.final LuaString
Check that optional argument is a string or number and return asLuaString
Return argument i as a LuaString if a string or number,defval
if nil, or throw a LuaError if any other typefinal LuaString
LuaFunction.strvalue()
LuaNumber.strvalue()
LuaString.strvalue()
LuaValue.strvalue()
LuaString.substring
(int beginIndex, int endIndex) Take a substring using Java zero-based indexes for begin and end or range.final LuaString
Buffer.tostring()
Convert the buffer to aLuaString
static LuaString
LuaString.valueOf
(byte[] bytes) Construct aLuaString
for all the bytes in a byte array.static LuaString
LuaString.valueOf
(byte[] bytes, int off, int len) Construct aLuaString
for a portion of a byte array.static LuaString
LuaString.valueOf
(char[] bytes) Construct aLuaString
using the supplied characters as byte values.static LuaString
LuaString.valueOf
(char[] bytes, int off, int len) Construct aLuaString
using the supplied characters as byte values.static LuaString
Get aLuaString
instance whose bytes match the supplied Java String using the UTF8 encoding.static LuaString
LuaValue.valueOf
(byte[] bytes) Convert bytes in an array to aLuaValue
.static LuaString
LuaValue.valueOf
(byte[] bytes, int off, int len) Convert bytes in an array to aLuaValue
.static LuaString
Convert java string to aLuaValue
.static LuaString
LuaString.valueUsing
(byte[] bytes) Construct aLuaString
for all the bytes in a byte array, possibly using the supplied array as the backing store.static LuaString
LuaString.valueUsing
(byte[] bytes, int off, int len) Construct aLuaString
around, possibly using the the supplied byte array as the backing store.Methods in com.prineside.luaj with parameters of type LuaStringModifier and TypeMethodDescriptionfinal Buffer
Append aLuaString
to the buffer.final LuaValue
Concatenate the contents of a table efficiently, usingBuffer
Concatenate this buffer onto aLuaString
Reverse-concatenation: concatenate this value onto another value known to be aLuaString
and return the result using rules of lua string concatenation including metatag processing.static boolean
int
Find the index of a string starting at a point in this stringint
LuaString.indexOfAny
(LuaString accept) Java version of strpbrk - find index of any byte that in an accept string.int
LuaString.lastIndexOf
(LuaString s) Find the last index of a string in this stringLoadState.loadFunction
(LuaString p) Load a function prototype from the input streamfinal LuaString
Check that optional argument is a string or number and return asLuaString
Return argument i as a LuaString if a string or number,defval
if nil, or throw a LuaError if any other typeConcatenate bytes from aLuaString
onto the front of this bufferboolean
boolean
Equals: Perform direct equality comparison with aLuaString
value without metatag processing.int
int
int
Perform string comparison with another value known to be aLuaString
using string comparison based on byte values.void
Method parameters in com.prineside.luaj with type arguments of type LuaStringModifier and TypeMethodDescriptionConstructors in com.prineside.luaj with parameters of type LuaStringModifierConstructorDescriptionFPrototype
(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) Construct a LocVars instance. -
Uses of LuaString in com.prineside.luaj.ast
Methods in com.prineside.luaj.ast that return LuaStringModifier and TypeMethodDescriptionstatic LuaString
Str.charString
(String image) static LuaString
Str.longString
(String image) static LuaString
Str.quoteString
(String image) Methods in com.prineside.luaj.ast with parameters of type LuaStringConstructors in com.prineside.luaj.ast with parameters of type LuaString -
Uses of LuaString in com.prineside.luaj.lib.jse
Methods in com.prineside.luaj.lib.jse that return types with arguments of type LuaStringModifier and TypeMethodDescriptionJavaClass.getClassFields()
JavaClass.getClassMethods()
JavaClass.getInstanceFields()
JavaClass.getInstanceMethods()
-
Uses of LuaString in com.prineside.luaj.parser
Methods in com.prineside.luaj.parser that return LuaString