Module sway_ir::context

source ·
Expand description

The main handle to an IR instance.

Context contains several slotmap collections to maintain the IR ECS.

It is passed around as a mutable reference to many of the Sway-IR APIs.

Structs§