ContextBase

dotty.tools.dotc.core.Contexts$.ContextBase
class ContextBase extends ContextState with PhasesBase with Plugins

A context base defines state and associated methods that exist once per compiler run.

Attributes

Graph
Supertypes
trait Plugins
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited classlikes

object SomePhase extends Phase

Attributes

Inherited from:
PhasesBase
Graph
Supertypes
class Phase
class Object
trait Matchable
class Any

A sentinel transformer object

A sentinel transformer object

Attributes

Inherited from:
PhasesBase
Graph
Supertypes
class Phase
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

Attributes

The platform

The platform

Attributes

The loader that loads the members of root

The loader that loads the members of root

Attributes

Inherited methods

Add plugin phases to phase plan

Add plugin phases to phase plan

Attributes

Inherited from:
Plugins

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Check that we are on the same thread as before

Check that we are on the same thread as before

Attributes

Inherited from:
ContextState

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase
final def erasurePhase: Phase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase
final def flattenPhase: Phase

Attributes

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

Attributes

Inherited from:
PhasesBase
final def genBCodePhase: Phase

Attributes

Inherited from:
PhasesBase
final def gettersPhase: Phase

Attributes

Inherited from:
PhasesBase
final def inliningPhase: Phase

Attributes

Inherited from:
PhasesBase
final def isAfterTyper(phase: Phase): Boolean

Attributes

Inherited from:
PhasesBase
final def isTyper(phase: Phase): Boolean

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
ContextState
final def parserPhase: Phase

Attributes

Inherited from:
PhasesBase
final def patmatPhase: Phase

Attributes

Inherited from:
PhasesBase
final def phasePlan: List[List[Phase]]

Attributes

Inherited from:
PhasesBase
final def picklerPhase: Phase

Attributes

Inherited from:
PhasesBase

A description of all the plugins that are loaded

A description of all the plugins that are loaded

Attributes

Inherited from:
Plugins

Summary of the options for all loaded plugins

Summary of the options for all loaded plugins

Attributes

Inherited from:
Plugins
def plugins(using Context): List[Plugin]

Attributes

Inherited from:
Plugins

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
PhasesBase
def reset(): Unit

Attributes

Inherited from:
ContextState

Attributes

Inherited from:
PhasesBase
final def setPhasePlan(phasess: List[List[Phase]]): Unit

Attributes

Inherited from:
PhasesBase

Attributes

Inherited from:
ContextState
final def splicingPhase: Phase

Attributes

Inherited from:
PhasesBase
final def typerPhase: Phase

Attributes

Inherited from:
PhasesBase

Unlink phase from Denot transformer chain. This means that any denotation transformer defined by the phase will not be executed.

Unlink phase from Denot transformer chain. This means that any denotation transformer defined by the phase will not be executed.

Attributes

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.

Attributes

Inherited from:
PhasesBase

Concrete fields

The standard definitions

The standard definitions

Attributes

The initial context

The initial context

Attributes

The applicable settings

The applicable settings

Attributes

Inherited fields

Attributes

Inherited from:
ContextState

Attributes

Inherited from:
ContextState

Attributes

Inherited from:
ContextState

Sources and Files that were loaded

Sources and Files that were loaded

Attributes

Inherited from:
ContextState