ImportExtern

ImportExtern

sealed class ImportExtern

Represents an external value imported by a WasmModule. Its address will be used to populate a

ModuleInstance so that lookups happen correctly at runtime.
  1. Parse WasmModules
  2. Build ImportExterns from the modules' declared imports.
  3. Allocate the modules with their import externs.
  4. Using the allocations, update the addresses from the import externs appropriately.

Fields

Name Description
open moduleName: String
open name: String
open identifier: Identifier?
open addressPlaceholder: T