class
Splitter
extends
MiniPhase
Distribute applications into Block and If nodes
Constructors
Splitter
(
)
Members
def
distribute
(
tree:
GenericApply
[
Type
]
,
rebuild:
(Tree, List
[
Tree
]) => Context => Tree
)
(
implicit
ctx:
Context
)
: Tree
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:
$ ./bin/dotc -Xprint:<phaseNameHere> sourceFile.scala