Dotty Documentation

0.5.0-bin-SNAPSHOT

class PatternMatcherOld
extends MiniPhase with DenotTransformer

This phase rewrites pattern matches. FIXME: A more detailed explanation would be good.

[-] Constructors

PatternMatcherOld ( )

[-] Members

[+] class Translator
[+] private var _id : Int
[+] 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 transform ( ref: SingleDenotation ) ( implicit ctx: Context ) : SingleDenotation

The transformation method

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