class Flatten
extends MiniPhaseTransform with SymTransformer

Lift nested classes to toplevel

Constructors

Flatten ( )

Members

private val liftedDefs : ListBuffer [ Tree ]
private def liftIfNested ( tree: Tree ) ( implicit ctx: Context , info: TransformerInfo ) : Tree
[+] 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:

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 transformStats ( stats: List [ Tree ] ) ( implicit ctx: Context , info: TransformerInfo ) : List [ Tree ]
def transformSym ( ref: SymDenotation ) ( implicit ctx: Context ) : SymDenotation
override def transformTypeDef ( tree: TypeDef ) ( implicit ctx: Context , info: TransformerInfo ) : Tree