Skip to main content

Module program

Module program 

Source
Expand description

A closed, data-only model of a helper function’s body.

The per-file walk lowers each top-level helper once (lower). The prepared projection later executes the model against the abstract arguments of one call site (exec), forking at tests it cannot decide. Anything outside the model lowers to Opaque, which fails the execution only when a path actually reaches it, so unrelated unsupported code in a pruned branch does not block recovery.

Modules§

exec
Runs a lowered helper against the abstract arguments of one call.
lower
Lowers a top-level helper’s AST to a Program.

Structs§

FrozenEntry
One key of a frozen literal record returned by a guarded helper.
FrozenField
Mark
Physical position of an expression in the helper’s own module.
Param
Program
SwitchArm

Enums§

Entry
Expr
Stmt