xyz.wiedenhoeft.scalacrypt

iteratees

package iteratees

Visibility
  1. Public
  2. All

Type Members

  1. case class Cont[E, A](folder: (Input[E]) ⇒ Iteratee[E, A]) extends State[E, A] with Product with Serializable

  2. case class Done[E, A](result: A) extends State[E, A] with Product with Serializable

  3. case class Element[E](e: E) extends Input[E] with Product with Serializable

  4. trait Enumeratee[From, To] extends AnyRef

  5. trait Enumerator[E] extends AnyRef

  6. case class Error[E, A](error: Throwable) extends State[E, A] with Product with Serializable

  7. sealed trait Input[+E] extends AnyRef

  8. trait Iteratee[E, A] extends AnyRef

    An immutable structure that transforms a set of data to a result.

    An immutable structure that transforms a set of data to a result.

    An iteratee is an immutable structure that can consume an input to create a iteratee. An iteratee is only defined by its state which can be either Cont, Error or Done. Cont holds a closure that defines the next Iteratee depending on the next input. Done holds the result and Error holds a Throwable.

    There are three different types of Input: Element, Empty and EOF. The meaning of Element and Empty depends on the implementation, but as soon as an EOF is encountered the resulting new Iteratee must be in the Done state.

  9. sealed trait State[E, A] extends AnyRef

Value Members

  1. object EOF extends Input[Nothing]

  2. object Empty extends Input[Nothing]

  3. object Enumeratee

  4. object Enumerator

  5. object Iteratee

Ungrouped