dotty.tools.dotc.core.Contexts

ContextBase

Related Doc: package Contexts

class ContextBase extends ContextState with DenotationsBase with PhasesBase

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ContextBase
  2. PhasesBase
  3. DenotationsBase
  4. ContextState
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ContextBase()

Type Members

  1. class TerminalPhase extends DotClass with DenotTransformer

    A sentinel transformer object

    A sentinel transformer object

    Definition Classes
    PhasesBase

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object NoPhase extends DotClass with Phase

    Definition Classes
    PhasesBase
  5. object SomePhase extends DotClass with Phase

    Definition Classes
    PhasesBase
  6. def allPhases: Array[Phase]

    Definition Classes
    PhasesBase
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def checkSingleThreaded(): Unit

    Check that we are on the same thread as before

    Check that we are on the same thread as before

    Definition Classes
    ContextState
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val definitions: Definitions

    The standard definitions

  11. def elimErasedValueTypePhase: Phase

    Definition Classes
    PhasesBase
  12. def elimRepeatedPhase: Phase

    Definition Classes
    PhasesBase
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def erasurePhase: Phase

    Definition Classes
    PhasesBase
  16. def explicitOuterPhase: Phase

    Definition Classes
    PhasesBase
  17. def extensionMethodsPhase: Phase

    Definition Classes
    PhasesBase
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flattenPhase: Phase

    Definition Classes
    PhasesBase
  20. def genBCodePhase: Phase

    Definition Classes
    PhasesBase
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def gettersPhase: Phase

    Definition Classes
    PhasesBase
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. val indentTab: String

    Attributes
    protected[dotty.tools.dotc]
    Definition Classes
    ContextState
  25. val initialCtx: Context

    The initial context

  26. def initialize()(implicit ctx: Context): Unit

    Initializes the ContextBase with a starting context.

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

  27. def isAfterTyper(phase: Phase): Boolean

    Definition Classes
    PhasesBase
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def lambdaLiftPhase: Phase

    Definition Classes
    PhasesBase
  30. val loaders: SymbolLoaders

    The symbol loaders

  31. def missingHook(owner: Symbol, name: Name)(implicit ctx: Context): Symbol

    If we are looking for a non-existing term name in a package, assume it is a package for which we do not have a directory and enter it.

    If we are looking for a non-existing term name in a package, assume it is a package for which we do not have a directory and enter it.

    Definition Classes
    DenotationsBase
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. def newPlatform(implicit ctx: Context): Platform

    Attributes
    protected
  34. def nextId: Int

    Definition Classes
    ContextState
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def patmatPhase: Phase

    Definition Classes
    PhasesBase
  38. def phaseOfClass(pclass: Class[_]): Phase

    Definition Classes
    PhasesBase
  39. def phasePlan: List[List[Phase]]

    Definition Classes
    PhasesBase
  40. def picklerPhase: Phase

    Definition Classes
    PhasesBase
  41. def platform: Platform

    The platform

  42. def refchecksPhase: Phase

    Definition Classes
    PhasesBase
  43. def reset(): Unit

    Definition Classes
    ContextState
  44. def rootLoader(root: TermSymbol)(implicit ctx: Context): SymbolLoader

    The loader that loads the members of _root_

  45. def setPhasePlan(phasess: List[List[Phase]]): Unit

    Definition Classes
    PhasesBase
  46. val settings: ScalaSettings

    The applicable settings

  47. def squashPhases(phasess: List[List[Phase]], phasesToSkip: List[String], stopBeforePhases: List[String], stopAfterPhases: List[String], YCheckAfter: List[String]): 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

    Definition Classes
    PhasesBase
  48. def squashed(p: Phase): Phase

  49. def staticRef(path: Name, generateStubs: Boolean = true)(implicit ctx: Context): Denotation

    The current denotation of the static reference given by path, or a MissingRef or NoQualifyingRef instance, if it does not exist.

    The current denotation of the static reference given by path, or a MissingRef or NoQualifyingRef instance, if it does not exist. if generateStubs is set, generates stubs for missing top-level symbols

    Definition Classes
    DenotationsBase
  50. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  51. def toString(): String

    Definition Classes
    AnyRef → Any
  52. def typerPhase: Phase

    Definition Classes
    PhasesBase
  53. def uniquesSizes: Map[String, Int]

    A map that associates label and size of all uniques sets

    A map that associates label and size of all uniques sets

    Definition Classes
    ContextState
  54. def usePhases(phasess: List[Phase], squash: Boolean = true): Unit

    Use the following phases in the order they are given.

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

    Definition Classes
    PhasesBase
  55. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PhasesBase

Inherited from DenotationsBase

Inherited from ContextState

Inherited from AnyRef

Inherited from Any

Ungrouped