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 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 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
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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.