Dotty Documentation

0.3.0-bin-SNAPSHOT

class ElimStaticThis
extends MiniPhaseTransform

Replace This references to module classes in static methods by global identifiers to the corresponding modules.

[-] Constructors

ElimStaticThis ( )

[-] Members

[+] 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 transformIdent ( tree: Ident ) ( implicit ctx: Context , info: TransformerInfo ) : Tree
[+] override def transformThis ( tree: This ) ( implicit ctx: Context , info: TransformerInfo ) : Tree