atto.parser

Text

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
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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bananas[A](p: ⇒ Parser[A]): Parser[A]

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

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

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

  9. 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.

  10. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  21. def parens[A](p: ⇒ Parser[A]): Parser[A]

    Turns a parser into one that consumes surrounding parentheses ()

  22. 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).

  23. def skipWhitespace: Parser[Unit]

    Parser that consumes horizontal and vertical whitespace

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

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

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

    Parser that matches and returns only s.

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

    Like string but case-insensitive s.

  27. def stringLiteral: Parser[String]

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

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

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

    Parser that returns a string of characters matched by p.

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

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

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

    Definition Classes
    AnyRef
  31. def take(n: Int): Parser[String]

    Parser that returns the next n characters as a String.

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

    Parser that consumes and returns all remaining chunks of input.

  33. lazy val takeText: Parser[String]

    Parser that consumes and returns all remaining input.

  34. 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)).

  35. 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)).

  36. def takeWith(n: Int, p: (String) ⇒ Boolean, what: ⇒ String = "takeWith(...)"): Parser[String]

  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. def token[A](p: Parser[A]): Parser[A]

    Turns a parser into one that skips trailing whitespace

  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped