LuaBasicAPI class abstract

Implementers

Constructors

LuaBasicAPI()

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
arith(ArithOp op) Future<void>
call(int nArgs, int nResults) Future<void>
checkStack(int n) bool
compare(int idx1, int idx2, CmpOp op) Future<bool>
concat(int n) Future<void>
copy(int fromIdx, int toIdx) → void
createTable(int nArr, int nRec) → void
error() int
getField(int idx, String? k) Future<LuaType>
getGlobal(String name) Future<LuaType>
getI(int idx, int i) Future<LuaType>
getMetatable(int idx) bool
getTable(int idx) Future<LuaType>
getTop() int
insert(int idx) → void
isBoolean(int idx) bool
isDartFunction(int idx) bool
isFunction(int idx) bool
isInteger(int idx) bool
isNil(int idx) bool
isNone(int idx) bool
isNoneOrNil(int idx) bool
isNumber(int idx) bool
isString(int idx) bool
isTable(int idx) bool
isThread(int idx) bool
isUserdata(int idx) bool
len(int idx) Future<void>
load(Uint8List chunk, String chunkName, String? mode) ThreadStatus
newTable() → void
newUserdata<T>() Userdata
next(int idx) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pCall(int nArgs, int nResults, int msgh) Future<ThreadStatus>
pop(int n) → void
pushBoolean(bool b) → void
pushDartClosure(DartFunctionAsync f, int n) → void
pushDartFunction(DartFunctionAsync f) → void
pushFString(String fmt, [List<Object>? a]) → void
pushGlobalTable() → void
pushInteger(int? n) → void
pushNil() → void
pushNumber(double n) → void
pushString(String? s) → void
pushValue(int idx) → void
rawEqual(int idx1, int idx2) Future<bool>
rawGet(int idx) Future<LuaType>
rawGetI(int idx, int i) Future<LuaType>
rawLen(int idx) int
rawSet(int idx) Future<void>
rawSetI(int idx, int i) Future<void>
register(String name, DartFunction f) → void
registerAsync(String name, DartFunctionAsync f) → void
remove(int idx) → void
replace(int idx) → void
rotate(int idx, int n) → void
setField(int idx, String? k) Future<void>
setGlobal(String name) Future<void>
setI(int idx, int? i) Future<void>
setMetatable(int idx) → void
setTable(int idx) Future<void>
setTop(int idx) → void
stringToNumber(String s) bool
toBoolean(int idx) bool
toDartFunction(int idx) DartFunction?
toInteger(int idx) int
toIntegerX(int idx) int?
toNumber(int idx) double
toNumberX(int idx) double?
toPointer(int idx) Object?
toStr(int idx) String?
toString() String
A string representation of this object.
inherited
toUserdata<T>(int idx) Userdata?
type(int idx) LuaType
typeName(LuaType tp) String

Operators

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