Plugins

trait Plugins

Support for run-time loading of compiler plugins.

Authors

Lex Spoon

Version

1.1, 2009/1/2 Updated 2009/1/2 by Anders Bach Nielsen: Added features to implement SIP 00002

Companion
object
class Object
trait Matchable
class Any

Type members

Inherited classlikes

object SomePhase
Inherited from
PhasesBase

A sentinel transformer object

A sentinel transformer object

Inherited from
PhasesBase

Value members

Inherited constructors

def this()
Inherited from
ContextBase

Concrete methods

Add plugin phases to phase plan

Add plugin phases to phase plan

A description of all the plugins that are loaded

A description of all the plugins that are loaded

Summary of the options for all loaded plugins

Summary of the options for all loaded plugins

def plugins(using Context): List[Plugin]

Inherited methods

Inherited from
PhasesBase

Check that we are on the same thread as before

Check that we are on the same thread as before

Inherited from
ContextState
Inherited from
PhasesBase
Inherited from
PhasesBase
Inherited from
PhasesBase
final def erasurePhase: Phase
Inherited from
PhasesBase
Inherited from
PhasesBase
Inherited from
PhasesBase
Inherited from
PhasesBase
final def flattenPhase: Phase
Inherited from
PhasesBase
final def fusePhases(phasess: List[List[Phase]], phasesToSkip: List[String], stopBeforePhases: List[String], stopAfterPhases: List[String], YCheckAfter: List[String])(using Context): List[Phase]

Squash TreeTransform's beloning to same sublist to a single TreeTransformer Each TreeTransform gets own period, whereas a combined TreeTransformer gets period equal to union of periods of it's TreeTransforms

Squash TreeTransform's beloning to same sublist to a single TreeTransformer Each TreeTransform gets own period, whereas a combined TreeTransformer gets period equal to union of periods of it's TreeTransforms

Inherited from
PhasesBase
Inherited from
ContextBase
final def genBCodePhase: Phase
Inherited from
PhasesBase
final def gettersPhase: Phase
Inherited from
PhasesBase
def initialize(using Context): Unit

Initializes the ContextBase with a starting context. This initializes the platform and the definitions.

Initializes the ContextBase with a starting context. This initializes the platform and the definitions.

Inherited from
ContextBase
final def inliningPhase: Phase
Inherited from
PhasesBase
final def isAfterTyper(phase: Phase): Boolean
Inherited from
PhasesBase
Inherited from
PhasesBase
Inherited from
ContextState
final def patmatPhase: Phase
Inherited from
PhasesBase
final def phasePlan: List[List[Phase]]
Inherited from
PhasesBase
Inherited from
PhasesBase
final def picklerPhase: Phase
Inherited from
PhasesBase

The platform

The platform

Inherited from
ContextBase
Inherited from
PhasesBase
Inherited from
PhasesBase
def reset(): Unit
Inherited from
ContextState

The loader that loads the members of root

The loader that loads the members of root

Inherited from
ContextBase
final def setPhasePlan(phasess: List[List[Phase]]): Unit
Inherited from
PhasesBase
Inherited from
ContextState
final def typerPhase: Phase
Inherited from
PhasesBase
final def usePhases(phasess: List[Phase], fuse: Boolean): Unit

Use the following phases in the order they are given. The list should never contain NoPhase. if fusion is enabled, phases in same subgroup will be fused to single phase.

Use the following phases in the order they are given. The list should never contain NoPhase. if fusion is enabled, phases in same subgroup will be fused to single phase.

Inherited from
PhasesBase

Inherited fields

The standard definitions

The standard definitions

Inherited from
ContextBase

The initial context

The initial context

Inherited from
ContextBase

The applicable settings

The applicable settings

Inherited from
ContextBase

Sources and Files that were loaded

Sources and Files that were loaded

Inherited from
ContextState