Dotty Documentation

0.4.0-bin-SNAPSHOT

class InlineOptions
extends Optimisation

Inlines Option methods whose result is known statically.

[-] Constructors

InlineOptions ( )

[-] Members

[+] val nones : HashSet [ Symbol ]
[+] val somes : HashMap [ Symbol, Tree ]
[+] def clear ( ) : Unit

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

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