Dotty Documentation

0.5.0-bin-SNAPSHOT

class ExtractAPI
extends DotClass with Phase

This phase sends a representation of the API of classes to sbt via callbacks.

This is used by sbt for incremental recompilation.

See the documentation of ExtractAPICollector, ExtractDependencies, ExtractDependenciesCollector and http://www.scala-sbt.org/0.13/docs/Understanding-Recompilation.html for more information on incremental recompilation.

The following flags affect this phase: -Yforce-sbt-phases -Ydump-sbt-inc

[-] Constructors

ExtractAPI ( )

[-] Members

[+] override def phaseName : String

A name given to the Phase that can be used to debug the compiler. For instance, it is possible to print trees after a given phase using:

$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala
[+] override def run ( implicit ctx: Context ) : Unit
[+] override def runsAfter : Set [ Class [ Nothing <: Phase ] ]

List of names of phases that should precede this phase