Dotty Documentation


abstract class MacroTransform
extends DotClass with Phase

A base class for transforms. A transform contains a compiler phase which applies a tree transformer.

[-] Constructors

MacroTransform ( )

[-] Members

[+] class Transformer
[+] protected def newTransformer ( implicit ctx: Context ) : Transformer
[+] override def run ( implicit ctx: Context ) : Unit
[+] protected def transformPhase ( implicit ctx: Context ) : Phase

The phase in which the transformation should be run. By default this is the phase given by the this macro transformer, but it could be overridden to be the phase following that one.