Dotty Documentation

0.11.0-bin-SNAPSHOT

trait Plugins
extends Object

Support for run-time loading of compiler plugins.

[-] Constructors

[-] Members

[+] private var _plugins : List [ Plugin ]
[+] private var _roughPluginsList : List [ Plugin ]
[+] private def _plugins_= ( x$1: List [ Plugin ] ) : Unit
[+] private def _roughPluginsList_= ( x$1: List [ Plugin ] ) : Unit
[+] def addPluginPhases ( plan: List [ List [ Phase ] ] ) ( implicit ctx: Context ) : List [ List [ Phase ] ]

Add plugin phases to phase plan

[+] protected def loadPlugins ( implicit ctx: Context ) : List [ Plugin ]

Load all available plugins. Skips plugins that either have the same name as another one, or which define a phase name that another one does.

[+] protected def loadRoughPluginsList ( implicit ctx: Context ) : List [ Plugin ]

Load a rough list of the plugins. For speed, it does not instantiate a compiler run. Therefore it cannot test for same-named phases or other problems that are filtered from the final list of plugins.

[+] def pluginDescriptions : String

A description of all the plugins that are loaded

[+] def pluginOptionsHelp : String

Summary of the options for all loaded plugins

[+] def plugins ( implicit ctx: Context ) : List [ Plugin ]
[+] protected def roughPluginsList ( implicit ctx: Context ) : List [ Plugin ]