Dotty Documentation

0.4.0-bin-SNAPSHOT

trait Optimisation

[-] Constructors

[-] Members

[+] val NoVisitor : Tree => Unit
[+] def clear ( ) : Unit

Clears all the state of this optimisation, to be run last.

[+] def name : String
[+] def transformer ( implicit ctx: Context ) : Tree => Tree

Does the actual Tree => Tree transformation.

[+] def visitor ( implicit ctx: Context ) : Tree => Unit

Gathers information on trees (using mutation), to be run first.