Trait/Object

laika.parse.combinator

Parsers

Related Docs: object Parsers | package combinator

Permalink

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

    Permalink
  2. implicit class TryOps[A] extends AnyRef

    Permalink

    Provides additional methods to Try via implicit conversion.

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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def consumeAll[T](p: Parser[T]): Parser[T]

    Permalink

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

  7. def documentParserFunction[T, U](parser: Parser[T], docF: (Path, T) ⇒ U): (Input) ⇒ U

    Permalink

    A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.

    A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.

    The docF function turns the result of the parser into a document instance.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def failure(msg: String): Parser[Nothing]

    Permalink

    A parser that always fails with the specified message.

  11. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  15. def lookAhead[T](offset: Int, p: Parser[T]): Parser[T]

    Permalink

    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.

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

    Permalink

    Applies the specified parser at the current position.

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

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

    Permalink

    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.

  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def not[T](p: Parser[T]): Parser[Unit]

    Permalink

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

  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def opt[T](p: Parser[T]): Parser[Option[T]]

    Permalink

    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.

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

    Permalink

    A parser that always succeeds with the specified value.

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unsafeParserFunction[T](parser: Parser[T]): (ParserContext) ⇒ T

    Permalink

    A parser function for the specified parser that is expected to consume all input and always succeed, throwing unexpected parser failures as exceptions instead.

  27. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped