Return a new CompilerState
with the given mapping of phase to phase state
Get the phase state for a phase
Return a new CompilerState
with a transformed AST
Return a new CompilerState
which encapsulates the specified AST
Return a new CompilerState
which indicates whether or not the AST should be well-typed
after every phase.
(compilerState: any2stringadd[CompilerState]).+(other)
The current state of a compiler run, consisting of the current AST and additional immutable state of individual phases. Mutability is confined to the SymbolNamer. The state is tied to a specific compiler instance so that phases can call back into the compiler.