dotty.tools.dotc.core

Mode

Related Docs: class Mode | package core

object Mode extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Mode
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. val AllowDependentFunctions: Mode

    Allow dependent functions.

    Allow dependent functions. This is currently necessary for unpickling, because some dependent functions are passed through from the front end(s?), even though they are technically speaking illegal.

  5. val AllowLambdaWildcardApply: Mode

    Allow hk applications of type lambdas to wildcard arguments; used for checking that such applications do not normally arise

  6. val CheckCyclic: Mode

  7. val FutureDefsOK: Mode

    This mode bit is set if we want to allow accessing a symbol's denotation at a period before that symbol is first valid.

    This mode bit is set if we want to allow accessing a symbol's denotation at a period before that symbol is first valid. An example where this is the case is if we want to examine the environment where an access is made. The computation might take place at an earlier phase (e.g. it is part of some completion such as unpickling), but the environment might contain synbols that are not yet defined in that phase. If the mode bit is set, getting the denotation of a symbol at a phase before the symbol is defined will return the symbol's denotation at the first phase where it is valid, instead of throwing a NotDefinedHere error.

  8. val GADTflexible: Mode

    Allow GADTFlexType labelled types to have their bounds adjusted

  9. val ImplicitExploration: Mode

    We are currently in a viewExists check.

    We are currently in a viewExists check. In that case, ambiguous implicits checks are disabled and we succeed with the first implicit found.

  10. val ImplicitShadowing: Mode

    We are currently typechecking an ident to determine whether some implicit is shadowed - don't do any other shadowing tests.

  11. val ImplicitsEnabled: Mode

  12. val InSuperCall: Mode

  13. val InferringReturnType: Mode

  14. val None: Mode

  15. val OldOverloadingResolution: Mode

    Use Scala2 scheme for overloading and implicit resolution

  16. val Pattern: Mode

  17. val PatternOrType: Mode

  18. val Printing: Mode

    We are currently printing something: avoid to produce more logs about the printing

  19. val Scala2Unpickling: Mode

    We are currently unpickling Scala2 info

  20. val Type: Mode

  21. val TypevarsMissContext: Mode

    This mode bit is set if we collect information without reference to a valid context with typerstate and constraint.

    This mode bit is set if we collect information without reference to a valid context with typerstate and constraint. This is typically done when we cache the eligibility of implicits. Caching needs to be done across different constraints. Therefore, if TypevarsMissContext is set, subtyping becomes looser, and assumes that PolyParams can be sub- and supertypes of anything. See TypeComparer.

  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def newMode(bit: Int, name: String): Mode

  32. final def notify(): Unit

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

    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped