Packages

trait Parsers extends AnyRef

Generic base parsers which are not specifically tailored for parsing of text markup.

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

Type Members

  1. case class ParserException(result: Failure) extends RuntimeException with Product with Serializable
  2. implicit class TryOps[A] extends AnyRef

    Provides additional methods to Try via implicit conversion.

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def consumeAll[T](p: Parser[T]): Parser[T]

    A parser that succeeds if the specified parser succeeds and all input has been consumed.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def failure(msg: String): Parser[Nothing]

    A parser that always fails with the specified message.

  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def lazily[T](p: ⇒ Parser[T]): Parser[T]

    Constructs a parser lazily, useful when breaking circles in recursive parsing.

  15. def lookAhead(offset: Int, value: String): Parser[String]

    Attempts to parse the specified literal value at the specified offset behind the current position.

    Attempts to parse the specified literal value at the specified offset behind the current position. Never consumes any input.

  16. def lookAhead[T](offset: Int, p: Parser[T]): Parser[T]

    Applies the specified parser at the specified offset behind the current position.

    Applies the specified parser at the specified offset behind the current position. Never consumes any input.

  17. def lookAhead(value: String): Parser[String]

    Attempts to parse the specified literal value at the current position.

    Attempts to parse the specified literal value at the current position. Never consumes any input.

  18. def lookAhead[T](p: Parser[T]): Parser[T]

    Applies the specified parser at the current position.

    Applies the specified parser at the current position. Never consumes any input.

  19. def lookBehind[T](offset: Int, parser: ⇒ Parser[T]): Parser[T]

    Applies the specified parser at the specified offset behind the current position.

    Applies the specified parser at the specified offset behind the current position. Never consumes any input.

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def not(value: String): Parser[Unit]

    A parser that only succeeds if the parsing the specified literal value fails and vice versa, it never consumes any input.

  22. def not[T](p: Parser[T]): Parser[Unit]

    A parser that only succeeds if the specified parser fails and vice versa, it never consumes any input.

  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def opt(value: String): Parser[Option[String]]

    A parser for an optional literal string that always succeeds.

    A parser for an optional literal string that always succeeds.

    If the underlying parser succeeds this parser will contain its result as a Some, if it fails this parser will succeed with a None.

  26. def opt[T](p: Parser[T]): Parser[Option[T]]

    A parser for an optional element that always succeeds.

    A parser for an optional element that always succeeds.

    If the underlying parser succeeds this parser will contain its result as a Some, if it fails this parser will succeed with a None.

  27. def success[T](v: T): Parser[T]

    A parser that always succeeds with the specified value.

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped