Dotty Documentation


class RenameLifted
extends MiniPhaseTransform with SymTransformer

Renames lifted classes to local numbering scheme

[-] Constructors

RenameLifted ( )

[-] Members

[+] private def needsRefresh ( sym: Symbol ) ( implicit ctx: Context ) : Boolean

If the name of the symbol with a unique name needs to be refreshed - if it is a lifted class - if it is a lifted method

[+] override 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
[+] private def refreshedName ( sym: Symbol ) ( implicit ctx: Context ) : Name

Refreshes the number of the name based on the full name of the symbol

[+] override def runsAfterGroupsOf : Set [ Class [ Nothing <: Phase ] ]

List of names of phases that should have finished their processing of all compilation units before this phase starts

[+] def transformSym ( ref: SymDenotation ) ( implicit ctx: Context ) : SymDenotation