Object

play.extras.iteratees

Combinators

Related Doc: package iteratees

Permalink

object Combinators

Combinators for parsing using iteratees.

Note that all the combinators that take callbacks execute them in the same thread that invokes the iteratee. This means it is important that none of the callbacks ever block.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Combinators
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def FailOnEof[E, A](f: (E) ⇒ Iteratee[E, A]): Iteratee[E, A]

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def done[A](a: A): Iteratee[CharString, A]

    Permalink

    Done iteratee, typed with CharString to avoid needing to type it ourselves

  8. def drop(n: Int): Iteratee[CharString, Unit]

    Permalink
  9. def dropWhile(p: (Char) ⇒ Boolean): Iteratee[CharString, Unit]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def error[A](msg: String): Iteratee[CharString, A]

    Permalink

    Error iteratee.

    Error iteratee. Differs from Iteratees Error iteratee in that initially this one is in the cont state, so that it can get the remaining input to pass back in the error. This makes it more useful for composition.

  13. def errorReporter: Enumeratee[CharString, CharString]

    Permalink

    Enumeratee that keeps track of input seen, and when an error is encountered, modifies the error message so that it contains the line/column number, and if possible outputs the specific line that the error occured on with a caret pointing to the character that caused the error.

    Enumeratee that keeps track of input seen, and when an error is encountered, modifies the error message so that it contains the line/column number, and if possible outputs the specific line that the error occured on with a caret pointing to the character that caused the error.

    Useful when using combinators to give meaningful error messages when things fail to parse correctly.

  14. def expect(value: Char): Iteratee[CharString, Unit.type]

    Permalink
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. val peekOne: Iteratee[CharString, Option[Char]]

    Permalink
  23. def peekWhile(p: (Char) ⇒ Boolean, peeked: CharString = CharString.empty): Iteratee[CharString, String]

    Permalink
  24. def skipWhitespace: Iteratee[CharString, Unit]

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def takeOne(expected: ⇒ String): Iteratee[CharString, Char]

    Permalink
  27. def takeOneOf(values: Char*): Iteratee[CharString, Char]

    Permalink
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped