wasm_parser_worker library

Classes

ComponentAdapter
ComponentType
ExternType
FunctionType
GlobalType
HeapType
A heap type from function references. When the proposal is disabled, Index is an invalid type.
HeapTypeAny
The any heap type. The common supertype (a.k.a. top) of all internal types.
HeapTypeArray
The array heap type. The common supertype of all array types.
HeapTypeEq
The eq heap type. The common supertype of all referenceable types on which comparison (ref.eq) is allowed.
HeapTypeExtern
External heap type.
HeapTypeFunc
Untyped (any) function.
HeapTypeI31
The i31 heap type.
HeapTypeIndexed
User defined type at the given index.
HeapTypeNoExtern
The noextern heap type. The common subtype (a.k.a. bottom) of all external types.
HeapTypeNoFunc
The nofunc heap type. The common subtype (a.k.a. bottom) of all function types.
HeapTypeNone
The none heap type. The common subtype (a.k.a. bottom) of all internal types.
HeapTypeStruct
The struct heap type. The common supertype of all struct types.
MemoryType
ModuleExport
ModuleImport
ModuleType
RefType
TableType
TagType
A tag's type.
ValueType
ValueTypeF32
The value type is f32.
ValueTypeF64
The value type is f64.
ValueTypeI32
The value type is i32.
ValueTypeI64
The value type is i64.
ValueTypeRef
The value type is a reference.
ValueTypeV128
The value type is v128.
WasmFeatures
WasmInput
WasmInputBinary
A sequence of bytes in the WebAssembly binary format
WasmInputFilePath
A path to a file containing the binary wasm module
WasmParserWorld
WasmParserWorldImports
WasmType
WatInput
WatInputBinary
A sequence of bytes in the WebAssembly binary format
WatInputFilePath
A path to a file containing either text or binary
WatInputText
A string of text in the WebAssembly text format

Enums

CoreRefType
TagKind
Represents a tag kind.

Functions

createWasmParserWorker({required WasmParserWorldImports imports, Future<WasmModule> loadModule()?, WorkersConfig? workersConfig}) Future<WasmParserWorld>
Creates a WasmParserWorld with the given imports. It setsUp the dynamic library for wasm_run in native platforms and loads the wasm_parser WASM module from the file system or from the url pointing to 'lib/wasm_parser_wasm.wasm'.

Typedefs

ParserError = String