ContextBase

class ContextBase extends ContextState with PhasesBase with Plugins

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

trait Plugins
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

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.

The platform

The platform

The loader that loads the members of root

The loader that loads the members of root

Inherited methods

Add plugin phases to phase plan

Add plugin phases to phase plan

Inherited from
Plugins
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
final def genBCodePhase: Phase
Inherited from
PhasesBase
final def gettersPhase: Phase
Inherited from
PhasesBase
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

A description of all the plugins that are loaded

A description of all the plugins that are loaded

Inherited from
Plugins

Summary of the options for all loaded plugins

Summary of the options for all loaded plugins

Inherited from
Plugins
def plugins(using Context): List[Plugin]
Inherited from
Plugins
Inherited from
PhasesBase
Inherited from
PhasesBase
def reset(): Unit
Inherited from
ContextState
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

Concrete fields

The standard definitions

The standard definitions

The initial context

The initial context

The applicable settings

The applicable settings

Inherited fields

Sources and Files that were loaded

Sources and Files that were loaded

Inherited from
ContextState