Dotty Documentation

0.4.0-bin-SNAPSHOT

class DocASTPhase
extends DotClass with Phase

[-] Constructors

DocASTPhase ( )

[-] Members

[+] private var currentRun : Int
[+] var packages : Map [ String, PackageImpl ]
[+] private var totalRuns : Int
[+] def addPackage ( newPkg: PackageImpl ) : Package
[+] def collect ( tree: Tree ) ( implicit ctx: Context ) : Entity

Build documentation hierarchy from existing tree

[+] def packages_= ( x$1: Map [ String, PackageImpl ] ) : Unit
[+] 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 ]