Skip to main content

Module symbol_table

Module symbol_table 

Source
Expand description

Maps MangledName to Wasm indices for types, functions, and globals — both imported symbols and consumer-local declarations.

Structs§

ClassGuardLayout
MethodSlotAbi
The physical Wasm signature of a dispatched method — a class-method vtable slot, or a Direct/Static-dispatch interface wrapper — captured where the signature is built rather than re-derived at each call site.
SymbolTable
TopLevelFn

Enums§

FieldSetup
One step of a constructor’s field-setup sequence, run after super(...) (or at the top of a base class’s init fn): own-field initializers and parameter-property copies, in execution order.

Functions§

is_erased
Whether a type occupies the erased (boxed) object slot rather than its own concrete lowering. Class types are included: an erased slot must lower the same way regardless of whether the class’s struct type has been recorded yet — imported classes are reconstructed before local slot signatures are built, local classes after, and box cells are collected before either — and regardless of which package is compiling it. A union erases whole if any member does; a fully concrete union already lowers identically everywhere.