final case class Shift[Domain, Value](continuation: !![Domain, Value]) extends AnyVal with Keyword[Shift[Domain, Value], Value] with Product with Serializable
- Alphabetic
- By Inheritance
- Shift
- Serializable
- Product
- Equals
- Keyword
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Shift(continuation: !![Domain, Value])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (Shift[Domain, Value], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def apply[Domain](handler: (Value) => Domain)(implicit dsl: Dsl[Shift[Domain, Value], Domain, Value]): Domain
- Definition Classes
- Keyword
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val continuation: !![Domain, Value]
- final def cpsApply[Domain](handler: (Value) => Domain)(implicit dsl: Dsl[Shift[Domain, Value], Domain, Value]): Domain
- Definition Classes
- Keyword
- Annotations
- @inline()
- def ensuring(cond: (Shift[Domain, Value]) => Boolean, msg: => Any): Shift[Domain, Value]
- def ensuring(cond: (Shift[Domain, Value]) => Boolean): Shift[Domain, Value]
- def ensuring(cond: Boolean, msg: => Any): Shift[Domain, Value]
- def ensuring(cond: Boolean): Shift[Domain, Value]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def unary_!: Value
- Definition Classes
- Keyword
- Annotations
- @shift() @compileTimeOnly("This method requires the compiler plugin: `addCompilerPlugin(\"com.thoughtworks.dsl\" %% \"compilerplugins-bangnotation\" % \"latest.release\")` and must only be called inside a code block annotated as `@reset`.")
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Shift[Domain, Value] toStringFormat[Shift[Domain, Value]] 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): (Shift[Domain, Value], B)
- Implicit
- This member is added by an implicit conversion from Shift[Domain, Value] toArrowAssoc[Shift[Domain, Value]] 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.