scala.util

continuations

package continuations

Visibility
  1. Public
  2. All

Type Members

  1. class ControlContext[+A, -B, +C] extends AnyRef

    attributes: final
  2. type cps = cpsParam[A, A]

    definition classes: root
  3. class cpsParam[-B, +C] extends Annotation with StaticAnnotation with TypeConstraint

  4. type suspendable = cpsParam[Unit, Unit]

    definition classes: root

Value Members

  1. def reify[A, B, C](ctx: ⇒ A @scala.util.continuations.cpsParam[B,C]): ControlContext[A, B, C]

    definition classes: root
  2. def reifyR[A, B, C](ctx: ⇒ ControlContext[A, B, C]): ControlContext[A, B, C]

    definition classes: root
  3. def reset[A, C](ctx: ⇒ A @scala.util.continuations.cpsParam[A,C]): C

    definition classes: root
  4. def reset0[A](ctx: ⇒ A @scala.util.continuations.cpsParam[A,A]): A

    definition classes: root
  5. def run[A](ctx: ⇒ Any @scala.util.continuations.cpsParam[Unit,A]): A

    definition classes: root
  6. def shift[A, B, C](fun: ((A) ⇒ B) ⇒ C): A @scala.util.continuations.cpsParam[B,C]

    definition classes: root
  7. def shiftR[A, B, C](fun: ((A) ⇒ B) ⇒ C): ControlContext[A, B, C]

    definition classes: root
  8. def shiftUnit[A, B, C >: B](x: A): A @scala.util.continuations.cpsParam[B,C]

    definition classes: root
  9. def shiftUnit0[A, B](x: A): A @scala.util.continuations.cpsParam[B,B]

    definition classes: root
  10. def shiftUnitR[A, B](x: A): ControlContext[A, B, B]

    definition classes: root