object ContextMode
- Source
- Contexts.scala
- Alphabetic
- By Inheritance
- ContextMode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val AmbiguousErrors: ContextMode
- final val ConstructorSuffix: ContextMode
Are we in a secondary constructor after the this constructor call?
- final val DefaultMode: ContextMode
- final val DiagUsedDefaults: ContextMode
Were default arguments used?
- final val EnrichmentEnabled: ContextMode
To selectively allow enrichment in patterns, where other kinds of implicit conversions are not allowed
- final val FormerNonStickyModes: ContextMode
TODO: The "sticky modes" are EXPRmode, PATTERNmode, TYPEmode.
TODO: The "sticky modes" are EXPRmode, PATTERNmode, TYPEmode. To mimic the sticky mode behavior, when captain stickyfingers comes around we need to propagate those modes but forget the other context modes which were once mode bits; those being so far the ones listed here.
- final val ImplicitsEnabled: ContextMode
- final val MacrosEnabled: ContextMode
- final val NOmode: ContextMode
- final val PatternAlternative: ContextMode
Are we typechecking pattern alternatives.
Are we typechecking pattern alternatives. Formerly ALTmode.
- final val ReTyping: ContextMode
Are we retypechecking arguments independently from the function applied to them? See
Typer.tryTypedApply
TODO - iron out distinction/overlap with SecondTry. - final val ReturnExpr: ContextMode
Are we in return position? Formerly RETmode.
- final val ReturnsSeen: ContextMode
For method context: were returns encountered?
- final val SecondTry: ContextMode
- final val SelfSuperCall: ContextMode
Is this context (enclosed in) a constructor call? (the call to the super or self constructor in the first line of a constructor.) In such a context, the object's fields should not be in scope
- final val StarPatterns: ContextMode
Are star patterns allowed.
Are star patterns allowed. Formerly STARmode.
- final val SuperInit: ContextMode
Are we typing the "super" in a superclass constructor call super.<init>.
Are we typing the "super" in a superclass constructor call super.<init>. Formerly SUPERCONSTRmode.
- final val SuppressDeadArgWarning: ContextMode
Should a dead code warning be issued for a Nothing-typed argument to the current application.
- final val TypeConstructorAllowed: ContextMode
Are unapplied type constructors allowed here? Formerly HKmode.
- final val TypingAnnotation: ContextMode
Are we currently typing the core or args of an annotation? When set, Java annotations may be instantiated directly.
- def apply(bits: Int): ContextMode
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
The Scala compiler and reflection APIs.