HTBytecodeModule class

Mixed-in types

Constructors

HTBytecodeModule({required String id, required Uint8List bytes})

Properties

bytes Uint8List
The bytecode, stores as uint8 list
getter/setter pairinherited
compiledAt String?
getter/setter pair
constants Map<Type, List>
Const tables stored by its type.
finalinherited
curByte int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
final
ip int
Instruction pointer
getter/setter pairinherited
namespaces Map<String, HTNamespace>
a interpreted source is exist as a namespace in bytecode module.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values Map<String, dynamic>
a interpreted non-source, such as JSON, is exist as a value in bytecode module.
final
version ↔ Version?
getter/setter pair

Methods

addGlobalConstant<T>(T value) int
Add a constant value with type T to the table.
inherited
getConstString() String
getGlobalConstant(Type type, int index) → dynamic
Get a constant value in the table at the index.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() int
Fetch a single byte at the current instruction pointer
inherited
readBool() bool
Fetch a bool value from the bytes list
inherited
readFloat64() double
Fetch a float64 from the bytes list
inherited
readInt16() int
Fetch a int64 from the bytes list
inherited
readInt64() int
Fetch a int32 from the bytes list Fetch a int64 from the bytes list Fetch a float64 from the bytes list Fetch a int64 from the bytes list Fetch a int64 from the bytes list
inherited
readUint16() int
Fetch a uint16 from the bytes list
inherited
readUint32() int
Fetch a uint32 from the bytes list
inherited
readUint8() int
Fetch a uint8 from the bytes list
inherited
readUtf8String() String
Fetch a utf8 string from the bytes list
inherited
skip(int distance) → void
Skip forward distance of bytes
inherited
toString() String
A string representation of this object.
inherited

Operators

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