take note that phase is completed (for progress reporting)
take note that a phase on a unit is completed (for progress reporting)
Is this run allowed to redefine the given symbol? Usually this is true
if the run does not already compile sym
, but for interactive mode
we have a more liberal interpretation.
Compile list of files given by their names
Compile list of abstract files.
Compile abstract file until globalPhase
, but at least to phase "namer".
Compile abstract file until globalPhase
, but at least
to phase "namer".
Attempt to locate a source file providing the given name as a top-level definition with the given prefix, and add it to the run via compileLate if found.
Attempt to locate a source file providing the given name as a top-level definition in the given context, and add it to the run via compileLate if found.
Compile list of source files
Compile list of units, starting with phase fromPhase
does this run compile given class, module, or case factory?
The currently compiled unit; set from GlobalPhase
Counts for certain classes of warnings during this run.
For subclasses to override.
For subclasses to override. Called when phase
is about to be run on unit
.
Variables are passed explicitly to indicate that globalPhase
and currentUnit
have been set.
Have been running into too many init order issues with Run during erroneous conditions.
Have been running into too many init order issues with Run during erroneous conditions. Moved all these vals up to the top of the file so at least they're not trivially null.
A flag whether macro expansions failed
Progress tracking.
Progress tracking. Measured in "progress units" which are 1 per compilation unit per phase completed.
number of "progress units" completed
total number of "progress units" in run
Reset all classes contained in current project, as determined by the clearOnNextRun hook
A map from compiled top-level symbols to their picklers
A map from compiled top-level symbols to their source files
A Run is a single execution of the compiler on a sets of units