Class EscapeFacts

java.lang.Object
org.ek9lang.compiler.phase9.EscapeFacts
All Implemented Interfaces:
BiConsumer<CompilableProgram, Collection<IRConstruct>>

public final class EscapeFacts extends Object implements BiConsumer<CompilableProgram, Collection<IRConstruct>>
THE stamping of the per-value escape record (E1.1, 2026-11-12; EK9_IR_ESCAPE_LIFETIME_AND_SHARING_FACTS.md ยง2, the escape half): OperationEscapes over every operation of every construct, in module order, each value's EscapeMetaDataDetails set on the instruction that defines it. The second half of IR_ANALYSIS's single-threaded tail, beside WholeProgramFacts (D1-a): run once per compile, after the ownership verifiers and the type facts, so the records are deterministic and frozen before IR_OPTIMISATION reads them; nothing writes one anywhere else. Callees are resolved through THE program's ProgramCalleeOfCall. Report mode today: no pass acts on a record; the census over the IR fixtures (AbstractIRGenerationTest) and the @IR: IR_ANALYSIS goldens read them. A test that needs the records on a program compiled only to IR_GENERATION stamps through this, as the compiler does. Stateless: hold one.