WasmParserWorld class

Constructors

WasmParserWorld({required WasmParserWorldImports imports, required WasmLibrary library})

Properties

hashCode int
The hash code for this object.
no setterinherited
imports WasmParserWorldImports
final
library → WasmLibrary
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

defaultWasmFeatures() Future<WasmFeatures>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseWasm({required WasmInput input}) Future<Result<WasmType, ParserError>>
parseWat({required WatInput input}) Future<Result<WasmType, ParserError>>
toString() String
A string representation of this object.
inherited
validateWasm({required WasmInput input, WasmFeatures? features}) Future<Result<WasmType, ParserError>>
wasm2wasmComponent({required WasmInput input, String? wit, required List<ComponentAdapter> adapters}) Future<Result<Uint8List, ParserError>>
wasm2wat({required WasmInput input}) Future<Result<String, ParserError>>
wasmComponent2wit({required WasmInput input}) Future<Result<String, ParserError>>
wat2wasm({required WatInput input}) Future<Result<Uint8List, ParserError>>
withContext<T>(T fn()) → T

Operators

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

Static Methods

currentZoneWorld() WasmParserWorld?
init(WasmInstanceBuilder builder, {required WasmParserWorldImports imports}) Future<WasmParserWorld>