|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LuaString | |
---|---|
org.luaj.vm2 | |
org.luaj.vm2.compiler | |
org.luaj.vm2.lib |
Uses of LuaString in org.luaj.vm2 |
---|
Fields in org.luaj.vm2 declared as LuaString | |
---|---|
static LuaString |
LuaValue.ADD
LuaString constant with value "__add" for use as metatag |
static LuaString |
LuaValue.CALL
LuaString constant with value "__call" for use as metatag |
static LuaString |
LuaValue.CONCAT
LuaString constant with value "__concat" for use as metatag |
static LuaString |
LuaValue.DIV
LuaString constant with value "__div" for use as metatag |
static LuaString |
LuaValue.EMPTYSTRING
LuaString constant with value "" |
static LuaString |
LuaValue.EQ
LuaString constant with value "__eq" for use as metatag |
static LuaString |
LuaValue.INDEX
LuaString constant with value "__index" for use as metatag |
static LuaString |
LuaValue.LE
LuaString constant with value "__le" for use as metatag |
static LuaString |
LuaValue.LEN
LuaString constant with value "__len" for use as metatag |
static LuaString |
LuaValue.LT
LuaString constant with value "__lt" for use as metatag |
static LuaString |
LuaValue.METATABLE
LuaString constant with value "__metatable" for use as metatag |
static LuaString |
LuaValue.MOD
LuaString constant with value "__mod" for use as metatag |
static LuaString |
LuaValue.MODE
LuaString constant with value "__mode" for use as metatag |
static LuaString |
LuaValue.MUL
LuaString constant with value "__mul" for use as metatag |
static LuaString |
LuaValue.NEWINDEX
LuaString constant with value "__newindex" for use as metatag |
static LuaString |
LuaValue.POW
LuaString constant with value "__pow" for use as metatag |
LuaString |
Prototype.source
|
static LuaString |
LuaValue.SUB
LuaString constant with value "__sub" for use as metatag |
static LuaString |
LuaValue.TOSTRING
LuaString constant with value "__tostring" for use as metatag |
static LuaString |
LuaValue.UNM
LuaString constant with value "__unm" for use as metatag |
LuaString[] |
Prototype.upvalues
|
LuaString |
LocVars.varname
The local variable name |
Methods in org.luaj.vm2 that return LuaString | |
---|---|
LuaString |
LuaDouble.checkstring()
|
LuaString |
LuaInteger.checkstring()
|
LuaString |
LuaString.checkstring()
|
LuaString |
LuaValue.checkstring()
Check that this is a lua string, or throw LuaError if it is not. |
LuaString |
Varargs.checkstring(int i)
Return argument i as a LuaString if a string or number, or throw an error if any other type |
LuaString |
Prototype.getlocalname(int number,
int pc)
Get the name of a local variable. |
LuaString |
Varargs.optstring(int i,
LuaString defval)
Return argument i as a LuaString if a string or number, defval if nil, or throw a LuaError if any other type |
LuaString |
LuaDouble.optstring(LuaString defval)
|
LuaString |
LuaInteger.optstring(LuaString defval)
|
LuaString |
LuaNil.optstring(LuaString defval)
|
LuaString |
LuaString.optstring(LuaString defval)
|
LuaString |
LuaValue.optstring(LuaString defval)
Check that optional argument is a string or number and return as LuaString |
LuaString |
LuaDouble.strvalue()
|
LuaString |
LuaInteger.strvalue()
|
LuaString |
LuaString.strvalue()
|
LuaString |
LuaValue.strvalue()
Convert this value to a string if it is a LuaString or LuaNumber ,
or throw a LuaError if it is not |
LuaString |
LuaString.substring(int beginIndex,
int endIndex)
|
LuaString |
Buffer.tostring()
Convert the buffer to a LuaString |
static LuaString |
LuaString.valueOf(byte[] bytes)
Construct a LuaString around a byte array without copying the contents. |
static LuaString |
LuaValue.valueOf(byte[] bytes)
Convert bytes in an array to a LuaValue . |
static LuaString |
LuaString.valueOf(byte[] bytes,
int off,
int len)
Construct a LuaString around a byte array without copying the contents. |
static LuaString |
LuaValue.valueOf(byte[] bytes,
int off,
int len)
Convert bytes in an array to a LuaValue . |
static LuaString |
LuaString.valueOf(char[] bytes)
Construct a LuaString using the supplied characters as byte values. |
static LuaString |
LuaString.valueOf(java.lang.String string)
Get a LuaString instance whose bytes match
the supplied Java String using the UTF8 encoding. |
static LuaString |
LuaValue.valueOf(java.lang.String s)
Convert java string to a LuaValue . |
Methods in org.luaj.vm2 with parameters of type LuaString | |
---|---|
Buffer |
Buffer.append(LuaString str)
Append a LuaString to the buffer. |
LuaValue |
LuaTable.concat(LuaString sep,
int i,
int j)
Concatenate the contents of a table efficiently, using Buffer |
Buffer |
Buffer.concatTo(LuaString lhs)
Concatenate this buffer onto a LuaString |
LuaValue |
LuaNumber.concatTo(LuaString lhs)
|
LuaValue |
LuaString.concatTo(LuaString lhs)
|
LuaValue |
LuaValue.concatTo(LuaString lhs)
Reverse-concatenation: concatenate this value onto another value known to be a LuaString
and return the result using rules of lua string concatenation including
metatag processing. |
static boolean |
LuaString.equals(LuaString a,
int i,
LuaString b,
int j,
int n)
|
int |
LuaString.indexOf(LuaString s,
int start)
Find the index of a string starting at a point in this string |
int |
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 string |
Prototype |
LoadState.loadFunction(LuaString p)
Load a function prototype from the input stream |
LuaString |
Varargs.optstring(int i,
LuaString defval)
Return argument i as a LuaString if a string or number, defval if nil, or throw a LuaError if any other type |
LuaString |
LuaDouble.optstring(LuaString defval)
|
LuaString |
LuaInteger.optstring(LuaString defval)
|
LuaString |
LuaNil.optstring(LuaString defval)
|
LuaString |
LuaString.optstring(LuaString defval)
|
LuaString |
LuaValue.optstring(LuaString defval)
Check that optional argument is a string or number and return as LuaString |
Buffer |
Buffer.prepend(LuaString s)
Concatenate bytes from a LuaString onto the front of this buffer |
boolean |
LuaString.raweq(LuaString s)
|
boolean |
LuaValue.raweq(LuaString val)
Equals: Perform direct equality comparison with a LuaString value
without metatag processing. |
int |
LuaDouble.strcmp(LuaString rhs)
|
int |
LuaInteger.strcmp(LuaString rhs)
|
int |
LuaString.strcmp(LuaString rhs)
|
int |
LuaValue.strcmp(LuaString rhs)
Perform string comparison with another value known to be a LuaString
using string comparison based on byte values. |
Constructors in org.luaj.vm2 with parameters of type LuaString | |
---|---|
LocVars(LuaString varname,
int startpc,
int endpc)
Construct a LocVars instance. |
Uses of LuaString in org.luaj.vm2.compiler |
---|
Methods in org.luaj.vm2.compiler that return LuaString | |
---|---|
LuaString |
LuaC.newTString(byte[] bytes,
int offset,
int len)
|
Uses of LuaString in org.luaj.vm2.lib |
---|
Methods in org.luaj.vm2.lib with parameters of type LuaString | |
---|---|
abstract void |
IoLib.File.write(LuaString string)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |