Check what the phase achieves, to be called at any point after it is finished.
Check what the phase achieves, to be called at any point after it is finished.
The sequence position of this phase in the given context where 0 is reserved for NoPhase and the first real phase is at position 1.
The sequence position of this phase in the given context where 0 is reserved for NoPhase and the first real phase is at position 1. -1 if the phase is not installed in the context.
Output should be checkable by TreeChecker
Output should be checkable by TreeChecker
Is this phase the standard typerphase? True for FrontEnd, but not for other first phases (such as FromTasty).
Is this phase the standard typerphase? True for FrontEnd, but not for other first phases (such as FromTasty). The predicate is tested in some places that perform checks and corrections. It's different from isAfterTyper (and cheaper to test).
Record that currentSourceFile
depends on the file where dep
was loaded from.
Record that currentSourceFile
depends on the file where dep
was loaded from.
The source file of the current unit
The dependency
Describes how currentSourceFile
depends on dep
If set, allow missing or superfluous arguments in applications and type applications.
If set, allow missing or superfluous arguments in applications and type applications.
List of names of phases that should precede this phase
List of names of phases that should precede this phase
Throws an UnsupportedOperationException
with the given method name.
Throws an UnsupportedOperationException
with the given method name.
This phase sends information on classes' dependencies to sbt via callbacks.
This is used by sbt for incremental recompilation. Briefly, when a file changes sbt will recompile it, if its API has changed (determined by what
ExtractAPI
sent) then sbt will determine which reverse-dependencies (determined by whatExtractDependencies
sent) of the API have to be recompiled depending on what changed.See the documentation of
ExtractDependenciesCollector
,ExtractAPI
,ExtractAPICollector
and http://www.scala-sbt.org/0.13/docs/Understanding-Recompilation.html for more information on how sbt incremental compilation works.The following flags affect this phase: -Yforce-sbt-phases -Ydump-sbt-inc
ExtractAPI