object Parser

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

Type Members

  1. final case class Backtrack[Err, In, Result](parser: Parser[Err, In, Result]) extends Parser[Err, In, Result] with Product with Serializable
  2. final case class CaptureString[Err, Err2](parser: Parser[Err, Char, Any]) extends Parser[Err2, Char, String] with Product with Serializable
  3. final case class Fail[+Err](failure: Err) extends Parser[Err, Any, Nothing] with Product with Serializable
  4. final case class Failed[+Err](failure: ParserError[Err]) extends Parser[Err, Any, Nothing] with Product with Serializable
  5. final case class FlatMap[Err, Err2, In, In2, Result, Result2](parser: Parser[Err, In, Result], f: (Result) => Parser[Err2, In2, Result2]) extends Parser[Err2, In2, Result2] with Product with Serializable
  6. final case class Ignore[Err, Err2, In, Result, Result2](parser: Parser[Err, In, Result], to: Result2) extends Parser[Err2, In, Result2] with Product with Serializable
  7. final case class Lazy[+Err, -In, +Result](inner: () => Parser[Err, In, Result]) extends Parser[Err, In, Result] with Product with Serializable
  8. final case class MapError[Err, Err2, In, Result](parser: Parser[Err, In, Result], mapParserErr: (ParserError[Err]) => ParserError[Err2]) extends Parser[Err2, In, Result] with Product with Serializable
  9. final case class Named[Err, In, Result](parser: Parser[Err, In, Result], name: String) extends Parser[Err, In, Result] with Product with Serializable
  10. final case class Not[Err, In](parser: Parser[Err, In, Any], failure: Err) extends Parser[Err, In, Unit] with Product with Serializable
  11. final case class Optional[Err, In, Result](parser: Parser[Err, In, Result]) extends Parser[Err, In, Option[Result]] with Product with Serializable
  12. final case class OrElse[Err, Err2, In, In2, Result, Result2](left: Parser[Err, In, Result], right: Parser[Err2, In2, Result2]) extends Parser[Err2, In2, Result2] with Product with Serializable
  13. final case class OrElseEither[Err, Err2, In, In2, Result, Result2](left: Parser[Err, In, Result], right: Parser[Err2, In2, Result2]) extends Parser[Err2, In2, Either[Result, Result2]] with Product with Serializable
  14. final case class ParseRegex[Err](regex: Regex, onFailure: Option[Err]) extends Parser[Err, Char, Chunk[Char]] with Product with Serializable
  15. final case class ParseRegexLastChar[Err](regex: Regex, onFailure: Option[Err]) extends Parser[Err, Char, Char] with Product with Serializable
  16. sealed trait ParserError[+Err] extends AnyRef

    Type representing a parser error

  17. final case class Repeat[Err, In, Result](parser: Parser[Err, In, Result], min: Int, max: Option[Int]) extends Parser[Err, In, Chunk[Result]] with Product with Serializable
  18. final case class SetAutoBacktrack[Err, In, Result](parser: Parser[Err, In, Result], enabled: Boolean) extends Parser[Err, In, Result] with Product with Serializable
  19. final case class SkipRegex[Err](regex: Regex, onFailure: Option[Err]) extends Parser[Err, Char, Unit] with Product with Serializable
  20. final case class Succeed[+Result](value: Result) extends Parser[Nothing, Any, Result] with Product with Serializable
  21. final case class Transform[Err, Err2, In, Result, Result2](parser: Parser[Err, In, Result], to: (Result) => Result2) extends Parser[Err2, In, Result2] with Product with Serializable
  22. final case class TransformEither[Err, Err2, In, Result, Result2](parser: Parser[Err, In, Result], to: (Result) => Either[Err2, Result2]) extends Parser[Err2, In, Result2] with Product with Serializable
  23. final case class Zip[Err, Err2, In, In2, Result, Result2, ZippedResult](left: Parser[Err, In, Result], right: Parser[Err2, In2, Result2], zip: (Result, Result2) => ZippedResult) extends Parser[Err2, In2, ZippedResult] with Product with Serializable
  24. final case class ZipLeft[Err, Err2, In, In2, Result](left: Parser[Err, In, Result], right: Parser[Err2, In2, Any]) extends Parser[Err2, In2, Result] with Product with Serializable
  25. final case class ZipRight[Err, Err2, In, In2, Result, Result2](left: Parser[Err, In, Result], right: Parser[Err2, In2, Result2]) extends Parser[Err2, In2, Result2] with Product with Serializable

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. lazy val alphaNumeric: Parser[String, Char, Char]

    Parser of a single alpha-numeric character

  5. val anyChar: Parser[Nothing, Char, Char]

    Parser that consumes a single character and returns it

  6. val anyString: Parser[Nothing, Char, String]

    Parser that consumes the whole input and captures it as a string

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def char[Err](value: Char, failure: Err): Parser[Err, Char, Unit]

    Parser that consumes the exact character 'value' or fails with 'failure' if it did not match, and results in the unit value

  9. def char(value: Char): Parser[String, Char, Unit]

    Parser that consumes the exact character 'value' or fails if it did not match, and results in the unit value.

  10. def charIn(chars: Char*): Parser[String, Char, Char]

    Parser that consumes a single character and succeeds with it if it is one of the provided 'chars'

  11. def charNotIn(chars: Char*): Parser[String, Char, Char]

    Parser that consumes a single character and succeeds with it if it is NOT one of the provided 'chars'

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. lazy val digit: Parser[String, Char, Char]

    Parser of a single digit

  14. lazy val end: Parser[Nothing, Any, Unit]

    Parser that only succeeds if the input stream has been consumed fully.

    Parser that only succeeds if the input stream has been consumed fully.

    This can be used to require that a parser consumes the full input.

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  17. def fail[Err](failure: Err): Parser[Err, Any, Nothing]

    Parser that always fails with 'failure'

  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. lazy val ignoreRest: Parser[Nothing, Char, Unit]

    Parser that consumes and discards all the remaining input

  22. lazy val index: Parser[Nothing, Any, Int]

    Parser that results in the current input stream position

  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. lazy val letter: Parser[String, Char, Char]

    Parser of a single letter

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def notChar[Err](value: Char, failure: Err): Parser[Err, Char, Char]

    Parser that consumes a single character, fails with 'failure' if it is 'value', otherwise results with it

  27. def notChar(value: Char): Parser[String, Char, Char]

    Parser that consumes a single character, fails if it is 'value', otherwise results with it

  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def regex[Err](regex: Regex, failure: Err): ParseRegex[Err]

    Parser that executes a regular expression on the input and results in the chunk of the parsed characters, or fails with 'failure'.

  31. def regexChar[Err](regex: Regex, failure: Err): ParseRegexLastChar[Err]

    Parser that executes a regular expression on the input and results in the last parsed character, or fails with 'failure'.

    Parser that executes a regular expression on the input and results in the last parsed character, or fails with 'failure'. Useful for regexes that are known to parse a single character.

  32. def regexDiscard[Err](regex: Regex, failure: Err): Parser[Err, Char, Unit]

    Parser that executes a regular expression on the input but discards its result, and fails with 'failure' if the regex fails

  33. def string[Result](str: String, value: Result): Parser[String, Char, Result]

    Parser that requires a given string 'str' and in case it could read it, results in 'value'

  34. def succeed[Result](value: Result): Parser[Nothing, Any, Result]

    Parser that does not consume any input and succeeds with 'value'

  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. lazy val unit: Parser[Nothing, Any, Unit]

    Parser that does not consume the input and results in unit

  38. def unsafeRegex(regex: Regex): ParseRegex[Nothing]

    Parser that executes a regular expression on the input and results in the chunk of the parsed characters.

    Parser that executes a regular expression on the input and results in the chunk of the parsed characters. The regex is supposed to never fail.

  39. def unsafeRegexChar[E](regex: Regex): ParseRegexLastChar[E]

    Parser that executes a regular expression on the input and results in the last parsed character.

    Parser that executes a regular expression on the input and results in the last parsed character. The regex is supposed to never fail. Useful for regexes that are known to parse a single character.

  40. def unsafeRegexDiscard(regex: Regex): Parser[Nothing, Char, Unit]

    Parser that executes a regular expression on the input but discards its result.

    Parser that executes a regular expression on the input but discards its result. The regex is supposed to never fail.

  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  44. lazy val whitespace: Parser[String, Char, Char]

    Parser of a single whitespace character

  45. case object End extends Parser[Nothing, Any, Unit] with Product with Serializable
  46. case object Index extends Parser[Nothing, Any, Int] with Product with Serializable
  47. object ParserError

Inherited from AnyRef

Inherited from Any

Ungrouped