Package

com.thoughtworks.dsl

keywords

Permalink

package keywords

Contains built-in domain-specific Keywords and their corresponding interpreters.

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. keywords
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class AutoClose[R <: AutoCloseable](open: () ⇒ R) extends AnyVal with Keyword[AutoClose[R], R] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  2. final case class Catch[Domain](failureHandler: (Throwable) ⇒ Domain) extends AnyVal with Keyword[Catch[Domain], Unit] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  3. final case class Each[Element](elements: Traversable[Element]) extends Keyword[Each[Element], Element] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  4. final case class Fork[Element](elements: Traversable[Element]) extends AnyVal with Keyword[Fork[Element], Element] with Product with Serializable

    Permalink
  5. sealed case class Hang[Value]() extends Keyword[Hang[Value], Value] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  6. final case class Monadic[F[*], A](fa: F[A]) extends Keyword[Monadic[F, A], A] with Product with Serializable

    Permalink

  7. final case class Scope[Domain, Value](continuation: !![Domain, Value]) extends AnyVal with Keyword[Scope[Domain, Value], Value] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  8. final case class Shift[Domain, Value](continuation: !![Domain, Value]) extends AnyVal with Keyword[Shift[Domain, Value], Value] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

  9. final case class Yield[Element](element: Element) extends AnyVal with Keyword[Yield[Element], Unit] with Product with Serializable

    Permalink

    Author:

    杨博 (Yang Bo)

    Example:
    1. This Yield keyword must be put inside a function that returns Stream[Element] or Raii[Stream[Element]], or it will not compile.

      "def f(): Unit = !Yield(1)" shouldNot compile

Value Members

  1. object AutoClose extends Serializable

    Permalink
  2. object Catch extends Serializable

    Permalink
  3. object Each extends Serializable

    Permalink
  4. object Fork extends Serializable

    Permalink
  5. object Hang extends Serializable

    Permalink
  6. object Monadic extends Serializable

    Permalink
  7. object Scope extends Serializable

    Permalink
  8. object Shift extends LowPriorityShift0 with Serializable

    Permalink
  9. object Yield extends Serializable

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped