class PatternMatcher
extends MiniPhaseTransform with DenotTransformer

This transform eliminates patterns. Right now it's a dummy. Awaiting the real pattern matcher. elimRepeated is required TODO: outer tests are not generated yet.

Constructors

PatternMatcher ( )

Members

[+] class Translator
[+] private var _id : Int
[+] private def _id_= ( x$1: Int ) : Unit
[+] 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 runsAfter : Set [ Class [ Nothing <: Phase ] ]

List of names of phases that should precede this 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

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

The transformation method

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