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
Ordering
- Alphabetic
- By Inheritance
Inherited
- ContextMode
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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 to any2stringadd[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 to ArrowAssoc[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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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
-
def
→[B](y: B): (ContextMode, B)
- Implicit
- This member is added by an implicit conversion from ContextMode to ArrowAssoc[ContextMode] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ContextMode to StringFormat[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,formattedresolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.