final class ContextMode extends AnyVal
A value class to carry the boolean flags of a context, such as whether errors should be buffered or reported.
- Source
- Contexts.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContextMode
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def &(other: ContextMode): ContextMode
- def &~(other: ContextMode): ContextMode
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ContextMode toany2stringadd[ContextMode] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ContextMode, B)
- Implicit
- This member is added by an implicit conversion from ContextMode toArrowAssoc[ContextMode] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: Int
- def ensuring(cond: (ContextMode) => Boolean, msg: => Any): ContextMode
- Implicit
- This member is added by an implicit conversion from ContextMode toEnsuring[ContextMode] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ContextMode) => Boolean): ContextMode
- Implicit
- This member is added by an implicit conversion from ContextMode toEnsuring[ContextMode] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ContextMode
- Implicit
- This member is added by an implicit conversion from ContextMode toEnsuring[ContextMode] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ContextMode
- Implicit
- This member is added by an implicit conversion from ContextMode toEnsuring[ContextMode] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ContextMode toStringFormat[ContextMode] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def inAll(required: ContextMode): Boolean
- def inAny(required: ContextMode): Boolean
- def inNone(prohibited: ContextMode): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def set(value: Boolean, mask: ContextMode): ContextMode
- def toString(): String
- Definition Classes
- ContextMode → Any
- def |(other: ContextMode): ContextMode
Deprecated Value Members
- def →[B](y: B): (ContextMode, B)
- Implicit
- This member is added by an implicit conversion from ContextMode toArrowAssoc[ContextMode] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.