class Splitter
extends MiniPhaseTransform

Distribute applications into Block and If nodes

Constructors

Splitter ( )

Members

[+] private val apply : (Tree, List [ Tree ]) => Context => Apply
[+] private val typeApply : (Tree, List [ Tree ]) => Context => TypeApply
[+] def distribute ( tree: GenericApply [ Type ] , rebuild: (Tree, List [ Tree ]) => Context => Tree ) ( implicit ctx: Context ) : Tree

Distribute arguments among splitted branches

Distribute arguments among splitted branches

[+] 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 transformApply ( tree: Apply ) ( implicit ctx: Context , info: TransformerInfo ) : Tree
[+] override def transformTypeApply ( tree: TypeApply ) ( implicit ctx: Context , info: TransformerInfo ) : Tree