LuaState class abstract

Inheritance
Implemented types
Available extensions

Constructors

LuaState()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

absIndex(int idx) int
inherited
argCheck(bool? cond, int arg, String extraMsg) → void
inherited
argError(int arg, String extraMsg) int
inherited
arith(ArithOp op) Future<void>
inherited
call(int nArgs, int nResults) Future<void>
inherited
callMeta(int obj, String e) Future<bool>
inherited
checkAny(int arg) → void
inherited
checkInteger(int arg) Future<int?>
inherited
checkNumber(int arg) double?
inherited
checkStack(int n) bool
inherited
checkStack2(int sz, String msg) → void
inherited
checkString(int arg) String?
inherited
checkType(int arg, LuaType t) → void
inherited
compare(int idx1, int idx2, CmpOp op) Future<bool>
inherited
concat(int n) Future<void>
inherited
copy(int fromIdx, int toIdx) → void
inherited
createTable(int nArr, int nRec) → void
inherited
doFile(String filename) Future<bool>
inherited
doString(String str) Future<bool>
inherited
error() int
inherited
error2(String fmt, [List<Object?>? a]) int
inherited
getField(int idx, String? k) Future<LuaType>
inherited
getGlobal(String name) Future<LuaType>
inherited
getI(int idx, int i) Future<LuaType>
inherited
getMetafield(int obj, String e) Future<LuaType>
inherited
getMetatable(int idx) bool
inherited
getMetatableAux(String tname) Future<LuaType>
inherited
getSubTable(int idx, String fname) Future<bool>
inherited
getTable(int idx) Future<LuaType>
inherited
getTop() int
inherited
insert(int idx) → void
inherited
isBoolean(int idx) bool
inherited
isDartFunction(int idx) bool
inherited
isFunction(int idx) bool
inherited
isInteger(int idx) bool
inherited
isNil(int idx) bool
inherited
isNone(int idx) bool
inherited
isNoneOrNil(int idx) bool
inherited
isNumber(int idx) bool
inherited
isString(int idx) bool
inherited
isTable(int idx) bool
inherited
isThread(int idx) bool
inherited
isUserdata(int idx) bool
inherited
len(int idx) Future<void>
inherited
len2(int idx) Future<int?>
inherited
load(Uint8List chunk, String chunkName, String? mode) ThreadStatus
inherited
loadFile(String? filename) ThreadStatus
inherited
loadFileX(String? filename, String? mode) ThreadStatus
inherited
loadString(String s) ThreadStatus
inherited
newLib(Map<String, DartFunctionAsync?> l) Future<void>
inherited
newLibTable(Map<String, DartFunction> l) → void
inherited
newMetatable(String tname) Future<bool>
inherited
newTable() → void
inherited
newUserdata<T>() Userdata
inherited
next(int idx) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openLibs() Future<void>
inherited
optInteger(int arg, int? d) Future<int?>
inherited
optNumber(int arg, double d) double?
inherited
optString(int arg, String d) String?
inherited
pCall(int nArgs, int nResults, int msgh) Future<ThreadStatus>
inherited
pop(int n) → void
inherited
printStack() → void

Available on LuaState, provided by the LuaStateDebug extension

pushBoolean(bool b) → void
inherited
pushDartClosure(DartFunctionAsync f, int n) → void
inherited
pushDartFunction(DartFunctionAsync f) → void
inherited
pushFString(String fmt, [List<Object>? a]) → void
inherited
pushGlobalTable() → void
inherited
pushInteger(int? n) → void
inherited
pushNil() → void
inherited
pushNumber(double n) → void
inherited
pushString(String? s) → void
inherited
pushValue(int idx) → void
inherited
rawEqual(int idx1, int idx2) Future<bool>
inherited
rawGet(int idx) Future<LuaType>
inherited
rawGetI(int idx, int i) Future<LuaType>
inherited
rawLen(int idx) int
inherited
rawSet(int idx) Future<void>
inherited
rawSetI(int idx, int i) Future<void>
inherited
ref(int t) Future<int>
inherited
register(String name, DartFunction f) → void
inherited
registerAsync(String name, DartFunctionAsync f) → void
inherited
remove(int idx) → void
inherited
replace(int idx) → void
inherited
requireF(String modname, DartFunctionAsync openf, bool glb) Future<void>
inherited
rotate(int idx, int n) → void
inherited
setField(int idx, String? k) Future<void>
inherited
setFuncs(Map<String, DartFunction?> l, int nup) Future<void>
inherited
setFuncsAsync(Map<String, DartFunctionAsync?> l, int nup) Future<void>
inherited
setGlobal(String name) Future<void>
inherited
setI(int idx, int? i) Future<void>
inherited
setMetatable(int idx) → void
inherited
setMetatableAux(String tname) Future<void>
inherited
setTable(int idx) Future<void>
inherited
setTop(int idx) → void
inherited
stringToNumber(String s) bool
inherited
toBoolean(int idx) bool
inherited
toDartFunction(int idx) DartFunction?
inherited
toInteger(int idx) int
inherited
toIntegerX(int idx) int?
inherited
toNumber(int idx) double
inherited
toNumberX(int idx) double?
inherited
toPointer(int idx) Object?
inherited
toStr(int idx) String?
inherited
toString() String
A string representation of this object.
inherited
toString2(int idx) Future<String?>
inherited
toUserdata<T>(int idx) Userdata?
inherited
type(int idx) LuaType
inherited
typeName(LuaType tp) String
inherited
typeName2(int idx) String
inherited
unRef(int t, int ref) Future<void>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

newState() LuaState