Dotty Documentation

0.3.0-bin-SNAPSHOT

class StatisticsPhase
extends DotClass with Phase

[-] Constructors

StatisticsPhase ( )

[-] Members

[+] def collectInternalStats ( pack: Package ) ( implicit ctx: Context ) : Counters
[+] def collectPublicStats ( pack: Package ) ( implicit ctx: Context ) : Counters
[+] 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 runOn ( units: List [ CompilationUnit ] ) ( implicit ctx: Context ) : List [ CompilationUnit ]