Dotty Documentation

0.11.0-bin-SNAPSHOT

class RefreshNames
extends MiniPhase with SymTransformer

Refreshes local names starting from the second use of the name. Intended for readability of the pretty printed code.

[-] Constructors

RefreshNames ( )

[-] 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 transformDefDef ( tree: DefDef ) ( implicit ctx: Context ) : Tree
[+] def transformSym ( ref: SymDenotation ) ( implicit ctx: Context ) : SymDenotation
[+] override def transformTypeDef ( tree: TypeDef ) ( implicit ctx: Context ) : Tree
[+] override def transformValDef ( tree: ValDef ) ( implicit ctx: Context ) : Tree