Packages

trait Text extends AnyRef

Text parsers.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bananas[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding banana brackets (||)

  6. def braces[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding curly braces {}

  7. def bracket[A, B, C](left: Parser[B], p: ⇒ Parser[A], right: ⇒ Parser[C]): Parser[A]

    Consumes left and right, including the trailing and preceding whitespace, respectively, and returns the value of p.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def envelopes[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding envelope brackets [||]

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def parens[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding parentheses ()

  20. def scan[S](s: S)(p: (S, Char) ⇒ Option[S]): Parser[String]

    Stateful scanning parser returning a string of all visited chars.

    Stateful scanning parser returning a string of all visited chars. Many combinators can be written in terms of scan; for instance, take(n) could be written as scan(n)((m, _) => m > 0 option m - 1).

  21. def skipWhitespace: Parser[Unit]

    Parser that consumes horizontal and vertical whitespace

  22. def squareBrackets[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding square brackets []

  23. def string(s: String): Parser[String]

    Parser that matches and returns only s.

  24. def stringCI(s: String): Parser[String]

    Like string but case-insensitive s.

  25. def stringLiteral: Parser[String]

    Quoted strings with control and unicode escapes, Java/JSON style.

    Quoted strings with control and unicode escapes, Java/JSON style. *

  26. def stringOf(p: Parser[Char]): Parser[String]

    Parser that returns a string of characters matched by p.

  27. def stringOf1(p: Parser[Char]): Parser[String]

    Parser that returns a non-empty string of characters matched by p.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def take(n: Int): Parser[String]

    Parser that returns the next n characters as a String.

  30. lazy val takeRest: Parser[List[String]]

    Parser that consumes and returns all remaining chunks of input.

  31. lazy val takeText: Parser[String]

    Parser that consumes and returns all remaining input.

  32. def takeWhile(p: (Char) ⇒ Boolean): Parser[String]

    Parser that returns a string of characters passing the supplied predicate.

    Parser that returns a string of characters passing the supplied predicate. Equivalent to but more efficient than stringOf(elem(p)).

  33. def takeWhile1(p: (Char) ⇒ Boolean): Parser[String]

    Parser that returns a non-empty string of characters passing the supplied predicate.

    Parser that returns a non-empty string of characters passing the supplied predicate. Equivalent to but more efficient than stringOf1(elem(p)).

  34. def takeWith(n: Int, p: (String) ⇒ Boolean, what: ⇒ String = "takeWith(...)"): Parser[String]
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def token[A](p: Parser[A]): Parser[A]

    Turns a parser into one that skips trailing whitespace

  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped