Dotty Documentation

0.6.0-bin-SNAPSHOT

class PatternMatcher
extends MiniPhase

The pattern matching transform. After this phase, the only Match nodes remaining in the code are simple switches where every pattern is an integer constant

[-] Constructors

PatternMatcher ( )

[-] Members

[+] 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
[+] override def runsAfter : Set [ Class [ Nothing <: Phase ] ]

List of names of phases that should precede this phase

[+] 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

[+] override def transformMatch ( tree: Match ) ( implicit ctx: Context ) : Tree