Object

atto.parser

text

Related Doc: package parser

Permalink

object text extends Text

Linear Supertypes
Text, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. text
  2. Text
  3. AnyRef
  4. 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. final def asInstanceOf[T0]: T0

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

    Permalink

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

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

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

    Permalink

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

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

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

    Permalink

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

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

    Definition Classes
    Text
  8. def clone(): AnyRef

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

    Permalink

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

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

    Definition Classes
    Text
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

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

    Permalink

    Turns a parser into one that consumes surrounding parentheses ()

    Turns a parser into one that consumes surrounding parentheses ()

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

    Permalink

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

    Definition Classes
    Text
  21. def skipWhitespace: Parser[Unit]

    Permalink

    Parser that consumes horizontal and vertical whitespace

    Parser that consumes horizontal and vertical whitespace

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

    Permalink

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

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

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

    Permalink

    Parser that matches and returns only s.

    Parser that matches and returns only s.

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

    Permalink

    Like string but case-insensitive s.

    Like string but case-insensitive s.

    Definition Classes
    Text
  25. def stringLiteral: Parser[String]

    Permalink

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

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

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

    Permalink

    Parser that returns a string of characters matched by p.

    Parser that returns a string of characters matched by p.

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

    Permalink

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

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

    Definition Classes
    Text
  28. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    Parser that returns the next n characters as a String.

    Parser that returns the next n characters as a String.

    Definition Classes
    Text
  30. lazy val takeRest: Parser[List[String]]

    Permalink

    Parser that consumes and returns all remaining chunks of input.

    Parser that consumes and returns all remaining chunks of input.

    Definition Classes
    Text
  31. lazy val takeText: Parser[String]

    Permalink

    Parser that consumes and returns all remaining input.

    Parser that consumes and returns all remaining input.

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

    Permalink

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

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

    Permalink

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

    Definition Classes
    Text
  34. def takeWith(n: Int, p: (String) ⇒ Boolean, what: ⇒ String = "takeWith(...)"): Parser[String]

    Permalink
    Definition Classes
    Text
  35. def toString(): String

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

    Permalink

    Turns a parser into one that skips trailing whitespace

    Turns a parser into one that skips trailing whitespace

    Definition Classes
    Text
  37. final def wait(): Unit

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

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

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

Inherited from Text

Inherited from AnyRef

Inherited from Any

Ungrouped