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. val docbase: DocBase

    Documentation base

  12. def elimErasedValueTypePhase: Phase

    Definition Classes
    PhasesBase
  13. def elimRepeatedPhase: Phase

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

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

    Definition Classes
    AnyRef → Any
  16. def erasurePhase: Phase

    Definition Classes
    PhasesBase
  17. def explicitOuterPhase: Phase

    Definition Classes
    PhasesBase
  18. def extensionMethodsPhase: Phase

    Definition Classes
    PhasesBase
  19. def finalize(): Unit

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

    Definition Classes
    PhasesBase
  21. def genBCodePhase: Phase

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

    Definition Classes
    AnyRef → Any
  23. def gettersPhase: Phase

    Definition Classes
    PhasesBase
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. val indentTab: String

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

    The initial context

  27. 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.

  28. def isAfterTyper(phase: Phase): Boolean

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

    Definition Classes
    Any
  30. def lambdaLiftPhase: Phase

    Definition Classes
    PhasesBase
  31. val loaders: SymbolLoaders

    The symbol loaders

  32. 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
  33. final def ne(arg0: AnyRef): Boolean

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

    Attributes
    protected
  35. def nextId: Int

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

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

    Definition Classes
    AnyRef
  38. def patmatPhase: Phase

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

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

    Definition Classes
    PhasesBase
  41. def picklerPhase: Phase

    Definition Classes
    PhasesBase
  42. def platform: Platform

    The platform

  43. def refchecksPhase: Phase

    Definition Classes
    PhasesBase
  44. def reset(): Unit

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

    The loader that loads the members of _root_

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

    Definition Classes
    PhasesBase
  47. val settings: ScalaSettings

    The applicable settings

  48. 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
  49. def squashed(p: Phase): Phase

  50. 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
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. def typerPhase: Phase

    Definition Classes
    PhasesBase
  54. 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
  55. 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
  56. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. 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