Expand description
Types used by tinywasm and tinywasm_parser.
Modules§
Structs§
- Array
Type - A WebAssembly array type.
- Compact
Memory Arg - A compact memory immediate used by optimized instructions.
- Data
- Element
- Exception
Handler - A statically lowered exception handler range.
- Export
- A WebAssembly Module Export
- Field
Type - A struct field or array element type.
- Func
Type - The type of a WebAssembly function.
- Global
- Global
Type - A WebAssembly global type.
- I32Local
Arg - A 32-bit immediate and local operand that fit in an instruction payload.
- Import
- Local
Triple Arg - Three local operands that fit in an instruction payload.
- Memory
Lane Arg - An indexed memory argument and SIMD lane.
- Memory
Local Arg - An indexed memory argument and up to two local operands.
- Memory
Type - A WebAssembly memory type.
- Module
- TinyWasm’s parsed and lowered representation of a WebAssembly module.
- Module
Export - A module export descriptor.
- Module
Func Idx - A function index in a WebAssembly module’s function index space.
- Module
Import - A module import descriptor.
- Operand64
- A typed packed 8-byte operand value.
- Operand128
- A typed packed 16-byte operand value.
- Operand
Idx - An index into the operand lane used by
T. - Packed
Op - An operation packed inline with an indexed operand.
- RefType
- A WebAssembly reference type.
- Shared
- An atomically reference-counted pointer. A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Struct
Type - A WebAssembly struct type.
- SubType
- A type with optional declared subtyping.
- Table
Definition - Table
Type - A WebAssembly table type.
- TagType
- A WebAssembly tag type.
- Target
Local Arg - A branch target and local operand that fit in an instruction payload.
- Type
Section - The dense type index space of a WebAssembly module.
- Value
Counts - Wasm
Function - Wasm
Function Data - Weak
Shared - A non-owning pointer paired with
Shared.Weakis a version ofArcthat holds a non-owning reference to the managed allocation.
Enums§
- Abstract
Heap Type - An abstract WebAssembly heap type.
- BinOp
- BinOp128
- Branch
Table Operand - Identifies a packed branch-table operand.
- CmpOp
- An integer comparison operator, currently only used for conditional jumps.
- Compact
Memory Operand - Identifies the packed compact memory operand layout.
- Composite
Type - A function, struct, or array type.
- Const
Instruction - Data
Kind - Element
Item - Element
Kind - Exception
Catch - A catch clause attached to a lowered
try_tableinstruction. - Export
Type - Exported entity type.
- Extern
Val - A WebAssembly External Value.
- External
Kind - A WebAssembly External Kind.
- Global
Update Operand - Identifies a packed global update and branch operand.
- Import
Kind - Import
Type - Imported entity type.
- Instruction
- A TinyWasm bytecode instruction.
- Local
Update CmpOperand - Identifies a packed local update, comparison, and branch operand.
- Local
Update Operand - Identifies a packed local update and branch operand.
- Memory
Arch - Memory
Fill Operand - Identifies a packed constant memory-fill operand.
- Memory
Operand - Identifies the packed full-width memory operand layout.
- Storage
Type - A field’s packed or unpacked storage type.
- Value
Lane - The physical storage lane used by a
WasmType. - Wasm
Type - Type of a WebAssembly value.
Type Aliases§
- Addr
- A WebAssembly Address.
- Const
Idx - Data
Addr - Elem
Addr - Extern
Addr - Func
Addr - Global
Addr - Local
Addr - MemAddr
- Module
Instance Id - Operand64
Idx - An index into the 64-bit operand lane.
- Operand128
Idx - An index into the 128-bit operand lane.
- Packed
Op64 - An operation packed with an index into the 64-bit operand lane.
- Packed
Op128 - An operation packed with an index into the 128-bit operand lane.
- Table
Addr - TagAddr
- Type
Addr - An address in the current type space.