Dotty Documentation


class LinkAll
extends DotClass with Phase

Loads all potentially reachable trees from tasty. ▲ Only performed on whole world optimization mode. ▲ ▲

TODO: Next step is to only load compilation units reachable in the call graph

[-] Constructors

LinkAll ( )

[-] Members

[+] private class ClassesToLoadAccumulator

Collects all class denotations that may need to be loaded.

[+] 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
[+] def run ( implicit ctx: Context ) : Unit
[+] override def runOn ( units: List [ CompilationUnit ] ) ( implicit ctx: Context ) : List [ CompilationUnit ]