play.extras.iteratees

Combinators

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def FailOnEof[E, A](f: (E) ⇒ Iteratee[E, A]): Iteratee[E, A]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

  12. final def eq(arg0: AnyRef): Boolean

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

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

    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.

  15. def errorReporter: Enumeratee[CharString, CharString]

    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.

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

  17. def finalize(): Unit

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

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

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

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

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

  26. def skipWhitespace: Iteratee[CharString, Unit]

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

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

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

  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped