laika.parse.rst.ext

StandardDirectiveParsers

trait StandardDirectiveParsers extends BlockParsers with InlineParsers

Defines the custom argument and body parsers for the standard directives. Most of these delegate to the default block or inline parsers for reStructuredText, but often do only except one specific block type like Table or QuotedBlock whereas the default block parser usually accepts any of the blocks.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StandardDirectiveParsers
  2. InlineParsers
  3. URIParsers
  4. InlineParsers
  5. BlockParsers
  6. ExplicitBlockParsers
  7. TableParsers
  8. ListParsers
  9. BlockParsers
  10. MarkupParsers
  11. BaseParsers
  12. RegexParsers
  13. Parsers
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class CellBuilder extends AnyRef

    Definition Classes
    TableParsers
  2. class CellBuilderRef extends AnyRef

    Definition Classes
    TableParsers
  3. class ColumnBuilder extends AnyRef

    Definition Classes
    TableParsers
  4. type Elem = Char

    Definition Classes
    RegexParsers → Parsers
  5. case class Error extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  6. case class Failure extends NoSuccess with Product with Serializable

    Definition Classes
    Parsers
  7. case class IndentedBlock(nestLevel: Int, minIndent: Int, lines: List[String]) extends Product with Serializable

    Definition Classes
    BlockParsers
  8. type Input = Reader[Elem]

    Definition Classes
    Parsers
  9. class MalformedTableException extends RuntimeException

    Definition Classes
    TableParsers
  10. class MarkupParserException extends RuntimeException

    Exception thrown when parsing a text markup document or fragment fails.

  11. class NestedCharSequenceReader extends CharSequenceReader

    Reader implementation that keeps the current nest level in case of recursive parsing of block-level elements.

  12. sealed abstract class NoSuccess extends ParseResult[Nothing]

    Definition Classes
    Parsers
  13. trait OnceParser[+T] extends Parser[T]

    Definition Classes
    Parsers
  14. sealed abstract class ParseResult[+T] extends AnyRef

    Definition Classes
    Parsers
  15. abstract class Parser[+T] extends (Input) ⇒ ParseResult[T]

    Definition Classes
    Parsers
  16. class ParserOps[A] extends AnyRef

    Provides additional combinator methods to parsers via implicit conversion.

  17. case class ReferenceName(original: String) extends Product with Serializable

    Represent a reference name.

  18. trait ResultBuilder[Elem, +To] extends AnyRef

    Abstracts the internal process of building up the result of an inline parser.

  19. case class Reverse(length: Int, target: Span, fallback: Span, options: Options = laika.tree.Elements.NoOpt) extends Element with Span with Product with Serializable

    Attributes
    protected
    Definition Classes
    InlineParsers
  20. class RowBuilder extends AnyRef

    Definition Classes
    TableParsers
  21. class SpanBuilder extends ResultBuilder[Span, List[Span]]

    ResultBuilder that produces a list of spans.

  22. case class Success[+T] extends ParseResult[T] with Product with Serializable

    Definition Classes
    Parsers
  23. class TableBuilder extends AnyRef

    Definition Classes
    TableParsers
  24. class TextBuilder extends ResultBuilder[String, String]

    ResultBuilder that produces a String.

  25. class TextParser extends Parser[String]

    API for specifying further constraints on the parsers provided by this base trait.

  26. case class ~[+a, +b] extends Product with Serializable

    Definition Classes
    Parsers

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. object NoSuccess

    Definition Classes
    Parsers
  7. def OnceParser[T](f: (Input) ⇒ ParseResult[T]): Parser[T] with OnceParser[T]

    Definition Classes
    Parsers
  8. def Parser[T](f: (Input) ⇒ ParseResult[T]): Parser[T]

    Definition Classes
    Parsers
  9. def accept[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  10. def accept[ES](es: ES)(implicit arg0: (ES) ⇒ List[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  11. implicit def accept(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  12. def acceptIf(p: (Elem) ⇒ Boolean)(err: (Elem) ⇒ String): Parser[Elem]

    Definition Classes
    Parsers
  13. def acceptMatch[U](expected: String, f: PartialFunction[Elem, U]): Parser[U]

    Definition Classes
    Parsers
  14. def acceptSeq[ES](es: ES)(implicit arg0: (ES) ⇒ Iterable[Elem]): Parser[List[Elem]]

    Definition Classes
    Parsers
  15. val addrSpec: Parser[String]

    Parses a single email address as defined in RFC 6068.

    Parses a single email address as defined in RFC 6068.

    addr-spec = local-part "@" domain
    Definition Classes
    URIParsers
  16. val alpha: TextParser

    Parses letters according to RFC 2234.

    Parses letters according to RFC 2234.

    ALPHA =  %x41-5A / %x61-7A ; A-Z / a-z
    Definition Classes
    URIParsers
  17. val any: TextParser

    Consumes any kind of input, always succeeds.

    Consumes any kind of input, always succeeds. This parser would consume the entire input unless a max constraint is specified.

    Definition Classes
    MarkupParsers
  18. def anyBut(chars: Char*): TextParser

    Consumes any number of consecutive characters that are not one of the specified characters.

    Consumes any number of consecutive characters that are not one of the specified characters. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  19. def anyIn(ranges: Traversable[Char]*): TextParser

    Consumes any number of consecutive characters that are in one of the specified character ranges.

    Consumes any number of consecutive characters that are in one of the specified character ranges. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  20. def anyOf(chars: Char*): TextParser

    Consumes any number of consecutive occurrences of the specified characters.

    Consumes any number of consecutive occurrences of the specified characters. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  21. def anyUntil(until: ⇒ Parser[Any]): TextParser

    Consumes any number of characters for which the specified parser fails on the corresponding offset.

    Consumes any number of characters for which the specified parser fails on the corresponding offset. This parser fails if the end of input is reached without the specified parser ever succeeding or if the parser causes an Error result instead of a plain Failure or Success. Further constraints like minimum or maximum number of required matching characters can be specified through the API of the returned TextParser instance.

    Definition Classes
    MarkupParsers
  22. def anyUntil(chars: Char*): TextParser

    Consumes any number of consecutive characters that are not one of the specified characters.

    Consumes any number of consecutive characters that are not one of the specified characters.

    This parser is identical to the anyBut parser except for two differences: this parser fails if it reaches the end of the input without seeing any of the specified characters and it also consumes this final character, without adding it to the result. This parser is usually used when a construct like a span enclosed between two characters needs to be parsed.

    Definition Classes
    MarkupParsers
  23. def anyWhile(p: (Char) ⇒ Boolean): TextParser

    Consumes any number of consecutive characters which satisfy the specified predicate.

    Consumes any number of consecutive characters which satisfy the specified predicate. Always succeeds unless a minimum number of required matches is specified.

    Definition Classes
    MarkupParsers
  24. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  25. val atStart: Parser[Parser[Unit]]

    Succeeds at the start of the input.

    Succeeds at the start of the input.

    Definition Classes
    MarkupParsers
  26. val authority: Parser[String]

    Parses the authority part of a URI as defined in RFC 3986.

    Parses the authority part of a URI as defined in RFC 3986.

    authority = [ userinfo "@" ] host [ ":" port ]
    Definition Classes
    URIParsers
  27. val blankLine: Parser[String]

    Parses a blank line from the current input offset (which may not be at the start of the line).

    Parses a blank line from the current input offset (which may not be at the start of the line). Fails for lines that contain any non-whitespace character. Does always produce an empty string as the result, discarding any whitespace characters found in the line.

    Since it also succeeds at the end of the input it should never be used in the form of (blankLine *) or (blankLine +). Use the blankLines parser instead in these cases.

    Definition Classes
    BlockParsers
  28. val blankLines: Parser[List[String]]

    Parses one or more blanklines, producing a list of empty strings corresponding to the number of blank lines consumed.

    Parses one or more blanklines, producing a list of empty strings corresponding to the number of blank lines consumed.

    Definition Classes
    BlockParsers
  29. def block(firstLinePrefix: Parser[Any], linePrefix: ⇒ Parser[Any], nextBlockPrefix: ⇒ Parser[Any]): Parser[List[String]]

    Parses a full block based on the specified helper parsers.

    Parses a full block based on the specified helper parsers.

    firstLinePrefix

    parser that recognizes the start of the first line of this block

    linePrefix

    parser that recognizes the start of subsequent lines that still belong to the same block

    nextBlockPrefix

    parser that recognizes whether a line after one or more blank lines still belongs to the same block

    Definition Classes
    BlockParsers
  30. def blockDirective(name: String): Option[DirectivePart[Block]]

    Retrieves the block directive with the specified name.

    Retrieves the block directive with the specified name.

    See laika.parse.rst.Directives for details on how to implement directives.

    Definition Classes
    StandardDirectiveParsersExplicitBlockParsers
  31. def blockDirective: Parser[Block]

    Parses a block-level directive.

  32. def blockList(parser: ⇒ Parser[Block]): Parser[List[Block]]

    Builds a parser for a list of blocks based on the parser for a single block.

    Builds a parser for a list of blocks based on the parser for a single block.

    Overridden to add the processing required for cases where a block has influence on the parsing or processing of the subsequent block.

    This includes checking each Paragraph for a double colon ending which turns the following block into a literal block as well as processing internal link targets and section headers.

    parser

    the parser for a single block element

    returns

    a parser for a list of blocks

    Definition Classes
    BlockParsersBlockParsers
  33. def blockQuote: Parser[Block]

    Parses a block quote with an optional attribution.

    Parses a block quote with an optional attribution.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#block-quotes

    Definition Classes
    BlockParsers
  34. def bulletList: Parser[BulletList]

    Parses a bullet list with any of the supported bullet characters.

    Parses a bullet list with any of the supported bullet characters.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#bullet-lists.

    Definition Classes
    ListParsers
  35. def captionAndLegend(p: BlockParsers)(input: String): Either[String, (Seq[Span], List[Block])]

    Parses a caption (a single paragraph) and a legend (one or more blocks), both being optional.

    Parses a caption (a single paragraph) and a legend (one or more blocks), both being optional.

    p

    the standard block parsers including all registered directives for recursive use

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  36. def chainl1[T, U](first: ⇒ Parser[T], p: ⇒ Parser[U], q: ⇒ Parser[(T, U) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  37. def chainl1[T](p: ⇒ Parser[T], q: ⇒ Parser[(T, T) ⇒ T]): Parser[T]

    Definition Classes
    Parsers
  38. def chainr1[T, U](p: ⇒ Parser[T], q: ⇒ Parser[(T, U) ⇒ U], combine: (T, U) ⇒ U, first: U): Parser[U]

    Definition Classes
    Parsers
  39. implicit def charToTraversalble(char: Char): Traversable[Char]

    Implicit conversion that allows to pass a single character to the range-based anyIn parser.

    Implicit conversion that allows to pass a single character to the range-based anyIn parser.

    Definition Classes
    MarkupParsers
  40. def citation: Parser[Citation]

    Parses a citation.

  41. lazy val citationRef: Parser[CitationReference]

    Parses a citation reference.

  42. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def comment: Parser[Comment]

    Parses a comment.

  44. def commit[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  45. def config(path: Path): Parser[Either[InvalidBlock, Config]]

    Definition Classes
    BlockParsers
  46. def defaultTextRole: String

    The default text role to use when no role is specified in an interpreted text element.

    The default text role to use when no role is specified in an interpreted text element.

    Definition Classes
    InlineParsers
  47. def definitionList: Parser[Block]

    Parses a definition list.

  48. val digit: TextParser

    Parses digits according to RFC 2234.

    Parses digits according to RFC 2234.

    DIGIT =  %x30-39; 0-9
    Definition Classes
    URIParsers
  49. def doctest: Parser[Block]

    Parses a doctest block.

    Parses a doctest block. This is a feature which is very specific to the world of Python where reStructuredText originates. Therefore the resulting DoctestBlock tree element is not part of the standard Laika tree model. When this block type is used the corresponding special renderers must be enabled (e.g. the ExtendedHTML renderer for HTML).

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#doctest-blocks

    Definition Classes
    BlockParsers
  50. val domain: Parser[String]

    Parses the domain portion of an email address as defined in RFC 6068.

    Parses the domain portion of an email address as defined in RFC 6068.

    domain       = dot-atom-text / "[" *dtext-no-obs "]"
    dtext-no-obs = %d33-90 / ; Printable US-ASCII
                   %d94-126  ; characters not including
                             ; "[", "]", or "\"
    Definition Classes
    URIParsers
  51. val dotAtomText: Parser[String]

    Parses a dot-atom-text sequence as defined in RFC 5322.

    Parses a dot-atom-text sequence as defined in RFC 5322.

    dot-atom-text   =   1*atext *("." 1*atext)
    
    atext           =   ALPHA / DIGIT /    ; Printable US-ASCII
                     "!" / "#" /        ;  characters not including
                     "$" / "%" /        ;  specials.  Used for atoms.
                     "&" / "'" /
                     "*" / "+" /
                     "-" / "/" /
                     "=" / "?" /
                     "^" / "_" /
                     "`" / "{" /
                     "|" / "}" /
                     "~"
    Definition Classes
    URIParsers
  52. def elem(e: Elem): Parser[Elem]

    Definition Classes
    Parsers
  53. def elem(kind: String, p: (Elem) ⇒ Boolean): Parser[Elem]

    Definition Classes
    Parsers
  54. lazy val em: Parser[Emphasized]

    Parses a span of emphasized text.

  55. lazy val email: Parser[(String, String, String)]

    Parses a standalone email address (with no surrounding markup).

    Parses a standalone email address (with no surrounding markup).

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#standalone-hyperlinks

    Definition Classes
    InlineParsers
  56. val emailAddress: Parser[String]

    Parses a mailto URI without the scheme part as defined in RFC 6068.

    Parses a mailto URI without the scheme part as defined in RFC 6068.

    Definition Classes
    URIParsers
  57. val emailURI: Parser[String]

    Parses a full mailto URI as defined in RFC 6068.

    Parses a full mailto URI as defined in RFC 6068.

    mailtoURI = "mailto:" [ to ] [ hfields ]
    Definition Classes
    URIParsers
  58. def enumList: Parser[EnumList]

    Parses an enumerated list in any of the supported combinations of enumeration style and formatting.

    Parses an enumerated list in any of the supported combinations of enumeration style and formatting.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#enumerated-lists.

    Definition Classes
    ListParsers
  59. def eof: Parser[String]

    Succeeds at the end of the input.

    Succeeds at the end of the input.

    Definition Classes
    MarkupParsers
  60. def eol: Parser[String]

    Succeeds at the end of a line, including the end of the input.

    Succeeds at the end of a line, including the end of the input. Produces an empty string as a result and consumes any new line characters.

    Definition Classes
    MarkupParsers
  61. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  63. def err(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  64. lazy val escapedChar: Parser[String]

    Parses an escaped character.

    Parses an escaped character. For most characters it produces the character itself as the result with the only exception being an escaped space character which is removed from the output in reStructuredText.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#escaping-mechanism.

    Definition Classes
    InlineParsers
  65. def escapedText(p: TextParser): Parser[String]

    Adds support for escape sequences to the specified text parser.

    Adds support for escape sequences to the specified text parser.

    p

    the parser to add support for escape sequences to

    returns

    a parser for a text span that supports escape sequences

    Definition Classes
    InlineParsers
  66. def escapedUntil(char: Char): Parser[String]

    Parses a span of text until the specified character is seen (unless it is escaped), while also processing escaped characters, but no other nested spans.

    Parses a span of text until the specified character is seen (unless it is escaped), while also processing escaped characters, but no other nested spans. The final character is not included in the result.

    char

    the character that signals the end of the text span

    returns

    a parser for a text span that supports escape sequences

    Definition Classes
    InlineParsers
  67. def explicitBlockItem: Parser[Block]

    Parses all types of explicit block items.

  68. def failure(msg: String): Parser[Nothing]

    Definition Classes
    Parsers
  69. def fieldList: Parser[Block]

    Parses a field list.

  70. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  71. def flatten(result: Any): String

    Flattens the result from various combinators, including the repX variants and ~ into a single string.

    Flattens the result from various combinators, including the repX variants and ~ into a single string.

    Definition Classes
    URIParsers
  72. def footnote: Parser[FootnoteDefinition]

    Parses a footnote.

  73. val footnoteLabel: Parser[Product with Serializable with FootnoteLabel]

    Parses any of the four supported types of footnote labels.

    Parses any of the four supported types of footnote labels.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#footnote-references.

    Definition Classes
    InlineParsers
  74. lazy val footnoteRef: Parser[FootnoteReference]

    Parses a footnote reference.

  75. val fragment: Parser[String]

    Parses the fragment part of a URI as defined in RFC 3986.

    Parses the fragment part of a URI as defined in RFC 3986.

    fragment = *( pchar / "/" / "?" )
    Definition Classes
    URIParsers
  76. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  77. def gridTable: Parser[Table]

    Parses a grid table.

  78. def guard[T](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    Parsers
  79. def handleWhiteSpace(source: CharSequence, offset: Int): Int

    Attributes
    protected
    Definition Classes
    RegexParsers
  80. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  81. def headerWithOverline: Parser[Block]

    Parses a section header with both overline and underline.

    Parses a section header with both overline and underline.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections.

    Definition Classes
    BlockParsers
  82. def headerWithUnderline: Parser[Block]

    Parses a section header with an underline, but no overline.

    Parses a section header with an underline, but no overline.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#sections.

    Definition Classes
    BlockParsers
  83. val hexdig: TextParser

    Parses a hexadecimal value according to RFC 2234.

    Parses a hexadecimal value according to RFC 2234.

    HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
    Definition Classes
    URIParsers
  84. val hfields: Parser[String]

    Parses header fields of an email address as defined in RFC 6068.

    Parses header fields of an email address as defined in RFC 6068.

    hfields      = "?" hfield *( "&" hfield )
    hfield       = hfname "=" hfvalue
    hfname       = *qchar
    hfvalue      = *qchar
    
    qchar        = unreserved / pct-encoded / some-delims
    some-delims  = "!" / "$" / "'" / "(" / ")" / "*"
                 / "+" / "," / ";" / ":" / "@"
    Definition Classes
    URIParsers
  85. val hierPart: Parser[String]

    Parses the hierarchical part of a URI with an authority component as defined in RFC 3986, but only the variant including an authority component.

    Parses the hierarchical part of a URI with an authority component as defined in RFC 3986, but only the variant including an authority component.

    hier-part     = "//" authority path-abempty
    / path-absolute ; excluded
    / path-rootless ; excluded
    / path-empty    ; excluded
    Definition Classes
    URIParsers
  86. val host: Parser[String]

    Parses a host as defined in RFC 3986.

    Parses a host as defined in RFC 3986.

    host = IP-literal / IPv4address / reg-name
    Definition Classes
    URIParsers
  87. val httpUri: Parser[String]

    Parses a full HTTP URI including the scheme part and an authority component as defined in RFC 3986.

    Parses a full HTTP URI including the scheme part and an authority component as defined in RFC 3986.

    Definition Classes
    URIParsers
  88. val httpUriNoScheme: Parser[String]

    Parses an HTTP or HTTPS URI with an authority component, but without the scheme part (therefore starting with "//") as defined in RFC 3986.

    Parses an HTTP or HTTPS URI with an authority component, but without the scheme part (therefore starting with "//") as defined in RFC 3986.

    URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
    Definition Classes
    URIParsers
  89. val httpsUri: Parser[String]

    Parses a full HTTPS URI including the scheme part and an authority component as defined in RFC 3986.

    Parses a full HTTPS URI including the scheme part and an authority component as defined in RFC 3986.

    Definition Classes
    URIParsers
  90. def indentedBlock(minIndent: Int = 1, linePredicate: ⇒ Parser[Any] = success(), endsOnBlankLine: Boolean = false, firstLineIndented: Boolean = false, maxIndent: Int = Int.MaxValue): Parser[IndentedBlock]

    Parses a full block based on the specified helper parsers, expecting an indentation for all lines except the first.

    Parses a full block based on the specified helper parsers, expecting an indentation for all lines except the first. The indentation may vary between the parts of the indented block, so that this parser only cuts off the minimum indentation shared by all lines, but each line must have at least the specified minimum indentation.

    minIndent

    the minimum indentation that each line in this block must have

    linePredicate

    parser that recognizes the start of subsequent lines that still belong to the same block

    endsOnBlankLine

    indicates whether parsing should end on the first blank line

    firstLineIndented

    indicates whether the first line is expected to be indented, too

    maxIndent

    the maximum indentation that will get dropped from the start of each line of the result

    returns

    a parser that produces an instance of IndentedBlock

    Definition Classes
    BlockParsers
  91. def inline[Elem, To](text: ⇒ TextParser, nested: ⇒ Map[Char, Parser[Elem]], resultBuilder: ⇒ ResultBuilder[Elem, To]): Parser[To]

    Generic base parser that parses inline elements based on the specified helper parsers.

    Generic base parser that parses inline elements based on the specified helper parsers. Usually not used directly by parser implementations, this is the base parser the other inline parsers of this trait delegate to.

    Elem

    the element type produced by a single parser for a nested span

    To

    the type of the result this parser produces

    nested

    a mapping from the start character of a span to the corresponding parser for nested span elements

    resultBuilder

    responsible for building the final result of this parser based on the results of the helper parsers

    returns

    the resulting parser

    Definition Classes
    InlineParsers
  92. lazy val inlineLiteral: Parser[Literal]

    Parses an inline literal element.

  93. val internalTarget: Parser[Text]

    Parses an inline internal link target.

  94. lazy val interpretedTextWithRolePrefix: Parser[InterpretedText]

    Parses an interpreted text element with the role name as a prefix.

    Parses an interpreted text element with the role name as a prefix.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#interpreted-text

    Definition Classes
    InlineParsers
  95. lazy val interpretedTextWithRoleSuffix: Parser[InterpretedText]

    Parses an interpreted text element with the role name as a suffix.

    Parses an interpreted text element with the role name as a suffix.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#interpreted-text

    Definition Classes
    InlineParsers
  96. val ipLiteral: Parser[String]

    Parses an ip literal as defined in RFC 3986.

    Parses an ip literal as defined in RFC 3986.

    IP-literal = "[" ( IPv6address / IPvFuture  ) "]"
    Definition Classes
    URIParsers
  97. val ipv4address: Parser[String]

    Parses an IPv4 address as defined in RFC 3986.

    Parses an IPv4 address as defined in RFC 3986.

    IPv4address   = dec-octet "." dec-octet "." dec-octet "." dec-octet
    
    dec-octet     = DIGIT                 ; 0-9
                  / %x31-39 DIGIT         ; 10-99
                  / "1" 2DIGIT            ; 100-199
                  / "2" %x30-34 DIGIT     ; 200-249
                  / "25" %x30-35          ; 250-255

    The implementation has been simplified to parse a 3-digit number and check its value.

    Definition Classes
    URIParsers
  98. val ipv6address: Parser[~[Product, Serializable]]

    Parses an IPv6 address as defined in RFC 3986.

    Parses an IPv6 address as defined in RFC 3986.

    IPv6address  =                            6( h16 ":" ) ls32
                 /                       "::" 5( h16 ":" ) ls32
                 / [               h16 ] "::" 4( h16 ":" ) ls32
                 / [ *1( h16 ":" ) h16 ] "::" 3( h16 ":" ) ls32
                 / [ *2( h16 ":" ) h16 ] "::" 2( h16 ":" ) ls32
                 / [ *3( h16 ":" ) h16 ] "::"    h16 ":"   ls32
                 / [ *4( h16 ":" ) h16 ] "::"              ls32
                 / [ *5( h16 ":" ) h16 ] "::"              h16
                 / [ *6( h16 ":" ) h16 ] "::"
    
    h16          = 1*4HEXDIG
    
    ls32         = ( h16 ":" h16 ) / IPv4address
    Definition Classes
    URIParsers
  99. val ipvFuture: Parser[~[~[~[Elem, String], Elem], List[Any]]]

    Parses a future IP address as defined in RFC 3986.

    Parses a future IP address as defined in RFC 3986.

    IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
    Definition Classes
    URIParsers
  100. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  101. def lineBlock: Parser[Block]

    Parses a block of lines with line breaks preserved.

    Parses a block of lines with line breaks preserved.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#line-blocks.

    Definition Classes
    ListParsers
  102. def linkTarget: Parser[Block with Span with Serializable]

    Parses a link definition, either an internal, external or indirect link.

    Parses a link definition, either an internal, external or indirect link.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#hyperlink-targets.

    Definition Classes
    ExplicitBlockParsers
  103. implicit def literal(s: String): Parser[String]

    Definition Classes
    RegexParsers
  104. def literalBlock: Parser[Block]

    Parses a literal block, either quoted or indented.

    Parses a literal block, either quoted or indented. Only used when the preceding block ends with a double colon (::).

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#literal-blocks

    Definition Classes
    BlockParsers
  105. val localPart: Parser[String]

    Parses the local part of an email address (before the @), with one deviation from RFC 6068: a quoted string is not allowed.

    Parses the local part of an email address (before the @), with one deviation from RFC 6068: a quoted string is not allowed. It is rarely used, not supported by the reStructuredText reference parser and would be hard to combine within text markup as it allows for whitespace and line break characters.

    local-part = dot-atom-text / quoted-string ; quoted-string omitted
    Definition Classes
    URIParsers
  106. def log[T](p: ⇒ Parser[T])(name: String): Parser[T]

    Definition Classes
    Parsers
  107. 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.

    Definition Classes
    BaseParsers
  108. def markupEnd(end: Parser[String]): Parser[String]

    Parses the end of an inline element according to reStructuredText markup recognition rules.

    Parses the end of an inline element according to reStructuredText markup recognition rules.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules.

    end

    the parser that recognizes the markup at the end of an inline element

    returns

    a parser that produces the same result as the parser passed as an argument

    Definition Classes
    InlineParsers
  109. def markupStart(end: Parser[String]): Parser[Any]

    Parses the start of an inline element without specific start markup according to reStructuredText markup recognition rules.

    Parses the start of an inline element without specific start markup according to reStructuredText markup recognition rules.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules.

    end

    the parser that recognizes the markup at the end of an inline element, needed to verify the start sequence is not immediately followed by an end sequence as empty elements are not allowed.

    returns

    a parser without a useful result, as it is only needed to verify it succeeds

    Definition Classes
    InlineParsers
  110. def markupStart(start: Parser[Any], end: Parser[String]): Parser[Any]

    Parses the markup at the start of an inline element according to reStructuredText markup recognition rules.

    Parses the markup at the start of an inline element according to reStructuredText markup recognition rules.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules.

    start

    the parser that recognizes the markup at the start of an inline element

    end

    the parser that recognizes the markup at the end of an inline element, needed to verify the start sequence is not immediately followed by an end sequence as empty elements are not allowed.

    returns

    a parser without a useful result, as it is only needed to verify it succeeds

    Definition Classes
    InlineParsers
  111. val maxNestLevel: Int

    The maximum level of block nesting.

    The maximum level of block nesting. Some block types like lists and blockquotes contain nested blocks. To protect against malicious input or accidentally broken markup, the level of nesting is restricted.

    Definition Classes
    BlockParsers
  112. def mkList[T]: (~[T, List[T]]) ⇒ List[T]

    Definition Classes
    Parsers
  113. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  114. def nestLevel(reader: Input): Int

    Returns the current nest level from the specified input or 0 if it cannot be determined.

    Returns the current nest level from the specified input or 0 if it cannot be determined.

    The nest level is usually only used to prevent endless recursion of nested blocks.

    Definition Classes
    BlockParsers
  115. final lazy val nestedBlock: Parser[Block]

    Parses any kind of nested block supported by a concrete markup language.

    Parses any kind of nested block supported by a concrete markup language.

    Definition Classes
    BlockParsers
  116. def nonRecursiveBlock: Parser[Block]

    Parses reStructuredText blocks, except for blocks that allow nesting of blocks.

    Parses reStructuredText blocks, except for blocks that allow nesting of blocks. Only used in rare cases when the maximum nest level allowed had been reached

    Definition Classes
    BlockParsersBlockParsers
  117. def not[T](p: ⇒ Parser[T]): Parser[Unit]

    Definition Classes
    Parsers
  118. final def notify(): Unit

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

    Definition Classes
    AnyRef
  120. def opt[T](p: ⇒ Parser[T]): Parser[Option[T]]

    Definition Classes
    Parsers
  121. def optimizedCharLookup(chars: Char*): (Char) ⇒ Boolean

    Returns an optimized, Array-based lookup function for the specified characters.

    Returns an optimized, Array-based lookup function for the specified characters.

    Attributes
    protected
    Definition Classes
    MarkupParsers
  122. def optimizedRangeLookup(ranges: Traversable[Char]*): (Char) ⇒ Boolean

    Returns an optimized, Array-based lookup function for the specified ranges of characters.

    Returns an optimized, Array-based lookup function for the specified ranges of characters.

    Attributes
    protected
    Definition Classes
    MarkupParsers
  123. def optionList: Parser[Block]

    Parses an option list.

  124. val pChar: Parser[Serializable]

    Parses one path character as defined in RFC 3986.

    Parses one path character as defined in RFC 3986.

    pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
    Definition Classes
    URIParsers
  125. def paragraph: Parser[Paragraph]

    Parses a single paragraph.

    Parses a single paragraph. Everything between two blank lines that is not recognized as a special reStructuredText block type will be parsed as a regular paragraph.

    Definition Classes
    BlockParsers
  126. def parse[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  127. def parse[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  128. def parse[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  129. def parseAll[T](p: Parser[T], in: CharSequence): ParseResult[T]

    Definition Classes
    RegexParsers
  130. def parseAll[T](p: Parser[T], in: Reader): ParseResult[T]

    Definition Classes
    RegexParsers
  131. def parseAll[T](p: Parser[T], in: Reader[Char]): ParseResult[T]

    Definition Classes
    RegexParsers
  132. def parseConfigAndRoot(reader: Reader[Char], path: Path): (Config, RootElement)

    Fully parses the input from the specified reader and returns the configuration and root element.

    Fully parses the input from the specified reader and returns the configuration and root element.

    Attributes
    protected
    Definition Classes
    BlockParsers
  133. def parseDirectivePart[T](parser: Parser[T], source: String): Either[String, T]

    Utility method to be used by custom parsers for directive argument or body.

    Utility method to be used by custom parsers for directive argument or body. It translates a Success into a Right and a NoSuccess into a Left.

    Definition Classes
    ExplicitBlockParsers
  134. def parseDocument(reader: Reader[Char], path: Path): Document

    Fully parses the input from the specified reader and returns the document tree.

    Fully parses the input from the specified reader and returns the document tree. This function is expected to always succeed, errors would be considered a bug of this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    BlockParsersBlockParsers
  135. def parseInline(source: String, spanParsers: Map[Char, Parser[Span]]): List[Span]

    Fully parses the input string and produces a list of spans.

    Fully parses the input string and produces a list of spans.

    This function is expected to always succeed, errors would be considered a bug of this library, as the parsers treat all unknown or malformed markup as regular text. Some parsers might additionally insert system message elements in case of markup errors.

    source

    the input to parse

    spanParsers

    a mapping from the start character of a span to the corresponding parser

    returns

    the result of the parser in form of a list of spans

    Definition Classes
    InlineParsersInlineParsers
  136. def parseInline(source: String): List[Span]

    Fully parses the input string and produces a list of spans, using the default span parsers returned by the spanParsers method.

    Fully parses the input string and produces a list of spans, using the default span parsers returned by the spanParsers method.

    This function is expected to always succeed, errors would be considered a bug of this library, as the parsers treat all unknown or malformed markup as regular text. Some parsers might additionally insert system message elements in case of markup errors.

    source

    the input to parse

    returns

    the result of the parser in form of a list of spans

    Definition Classes
    InlineParsers
  137. def parseMarkup[T](parser: Parser[T], reader: Reader[Char]): T

    Fully parses the input from the specified reader and returns the result.

    Fully parses the input from the specified reader and returns the result. This function is expected to always succeed, errors would be considered a bug in this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    MarkupParsers
  138. def parseMarkup[T](parser: Parser[T], source: String): T

    Fully parses the specified input string and returns the result.

    Fully parses the specified input string and returns the result. This function is expected to always succeed, errors would be considered a bug in this library, as the parsers treat all unknown or malformed markup as regular text.

    Definition Classes
    MarkupParsers
  139. def parseNestedBlocks(block: IndentedBlock): List[Block]

    Parses all nested blocks inside the specified indented block.

    Parses all nested blocks inside the specified indented block.

    Definition Classes
    BlockParsers
  140. def parseNestedBlocks(input: String, nestLevel: Int): List[Block]

    Parses all nested blocks for the specified input and nest level.

    Parses all nested blocks for the specified input and nest level. Delegates to the abstract nestedBlock parser that sub-traits need to define. The nest level is primarily used as a protection against malicious input that forces endless recursion.

    input

    the input to parse

    nestLevel

    the level of nesting with 0 being the outermost level

    returns

    the parser result as a list of blocks

    Definition Classes
    BlockParsers
  141. def parseNestedBlocks(lines: List[String], nestLevel: Int): List[Block]

    Parses all nested blocks for the specified input and nest level.

    Parses all nested blocks for the specified input and nest level. Delegates to the abstract nestedBlock parser that sub-traits need to define. The nest level is primarily used as a protection against malicious input that forces endless recursion.

    lines

    the input to parse

    nestLevel

    the level of nesting with 0 being the outermost level

    returns

    the parser result as a list of blocks

    Definition Classes
    BlockParsers
  142. val path: Parser[String]

    Parses the path of a URI as defined in RFC 3986, but only the path variant following an authority component.

    Parses the path of a URI as defined in RFC 3986, but only the path variant following an authority component.

    path-abempty  = *( "/" segment )
    
    segment       = *pchar
    Definition Classes
    URIParsers
  143. val pctEncoded: Parser[~[Elem, String]]

    Parses a percent-encoded character as defined in RFC 3986.

    Parses a percent-encoded character as defined in RFC 3986.

    pct-encoded = "%" HEXDIG HEXDIG
    Definition Classes
    URIParsers
  144. def phrase[T](p: Parser[T]): Parser[T]

    Definition Classes
    RegexParsers → Parsers
  145. lazy val phraseLinkRef: Parser[SpanContainer[_ >: SpanSequence with ExternalLink with LinkReference <: SpanContainer[_ >: SpanSequence with ExternalLink with LinkReference <: SpanContainer[_ >: SpanSequence with ExternalLink with LinkReference <: Span with Container[Seq[Span]] with Serializable] with Span with Serializable] with Span with Serializable] with Span with Serializable]

    Parses a phrase link reference (enclosed in back ticks).

    Parses a phrase link reference (enclosed in back ticks).

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#hyperlink-references

    Definition Classes
    InlineParsers
  146. val phraseRef: Parser[String]

    Parses a phrase reference name enclosed in back ticks.

    Parses a phrase reference name enclosed in back ticks.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#reference-names.

    Definition Classes
    InlineParsers
  147. val port: TextParser

    Parses a port as defined in RFC 3986, except for requiring at least one digit; instead the port is defined as optional in a higher level combinator.

    Parses a port as defined in RFC 3986, except for requiring at least one digit; instead the port is defined as optional in a higher level combinator.

    port = *DIGIT
    Definition Classes
    URIParsers
  148. def positioned[T <: Positional](p: ⇒ Parser[T]): Parser[T]

    Definition Classes
    RegexParsers → Parsers
  149. def prepareBlockParsers(nested: Boolean): List[Parser[Block]]

    Extension hook for assembling the block parsers for a particular markup format.

    Extension hook for assembling the block parsers for a particular markup format.

    nested

    true if these are parsers for nested blocks, false if they are for top level blocks

    returns

    a list of block parsers which later will be interpreted as choices in the specified order

    Attributes
    protected
    Definition Classes
    BlockParsersBlockParsers
  150. def prepareSpanParsers: Map[Char, Parser[Span]]

    A mapping of the start character of an inline element to the corresponding parser.

    A mapping of the start character of an inline element to the corresponding parser. The mapping is used to provide a fast implementation of an inline parser that only stops at known special characters.

    Attributes
    protected
    Definition Classes
    InlineParsersInlineParsers
  151. val punctuationChar: TextParser

    Parses punctuation characters as supported by transitions (rules) and overlines and underlines for header sections.

    Parses punctuation characters as supported by transitions (rules) and overlines and underlines for header sections.

    Definition Classes
    BlockParsersListParsers
  152. val query: Parser[String]

    Parses the query part of a URI as defined in RFC 3986.

    Parses the query part of a URI as defined in RFC 3986.

    query = *( pchar / "/" / "?" )
    Definition Classes
    URIParsers
  153. def quotedBlock(p: BlockParsers, style: String)(input: String): Serializable with Product with Either[String, QuotedBlock]

    Parses a quoted block with nested blocks.

    Parses a quoted block with nested blocks.

    p

    the standard block parsers including all registered directives for recursive use

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  154. val refName: Parser[ReferenceName]

    Parses a reference name, either a simple or a phrase reference name.

    Parses a reference name, either a simple or a phrase reference name.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#reference-names.

    Definition Classes
    InlineParsers
  155. val regName: Parser[String]

    Parses a server name as defined in RFC 3986.

    Parses a server name as defined in RFC 3986.

    reg-name = *( unreserved / pct-encoded / sub-delims )
    Definition Classes
    URIParsers
  156. implicit def regex(r: Regex): Parser[String]

    Definition Classes
    RegexParsers
  157. def rep[T](first: ⇒ Parser[T], next: (T) ⇒ Parser[T]): Parser[List[T]]

    A parser generator for repetitions where all subsequent parsers after the first depend on the result of the previous.

    A parser generator for repetitions where all subsequent parsers after the first depend on the result of the previous.

    first

    the parser to use for the first piece of input

    next

    a function that determines the next parser based on the result of the previous

    Definition Classes
    BaseParsers
  158. def rep[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  159. def rep1[T](first: ⇒ Parser[T], p0: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.

  160. def rep1[T](p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  161. def rep1sep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  162. def repMax[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Uses the parser for at most the specified number of repetitions, always succeeds.

    Uses the parser for at most the specified number of repetitions, always succeeds. The result is the list of results from applying the parser repeatedly.

    Definition Classes
    BaseParsers
  163. def repMin[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Uses the parser for at least the specified number of repetitions or otherwise fails.

    Uses the parser for at least the specified number of repetitions or otherwise fails. Continues to apply the parser after the minimum has been reached until if fails. The result is the list of results from applying the parser repeatedly.

    Definition Classes
    BaseParsers
  164. def repN[T](num: Int, p: ⇒ Parser[T]): Parser[List[T]]

    Definition Classes
    Parsers
  165. def repsep[T](p: ⇒ Parser[T], q: ⇒ Parser[Any]): Parser[List[T]]

    Definition Classes
    Parsers
  166. def restOfLine: Parser[String]

    Parses the rest of the line from the current input offset no matter whether it consist of whitespace only or some text.

    Parses the rest of the line from the current input offset no matter whether it consist of whitespace only or some text. Does not include the eol character(s).

    Definition Classes
    BlockParsers
  167. def roleDirective: Parser[Block]

    Parses a role directive.

  168. def root: Parser[RootElement]

    Parses a full document, delegating most of the work to the topLevelBlock parser.

    Parses a full document, delegating most of the work to the topLevelBlock parser.

    Definition Classes
    BlockParsers
  169. lazy val shortAnonymousLinkTarget: Parser[ExternalLinkDefinition]

    Parses the short variant of an anonymous link definition (that starts with instead of .. :)

    Parses the short variant of an anonymous link definition (that starts with instead of .. :)

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#anonymous-hyperlinks.

    Definition Classes
    ExplicitBlockParsers
  170. lazy val simpleLinkRef: Parser[Span]

    Parses a simple link reference.

  171. val simpleRefName: Parser[String]

    Parses a simple reference name that only allows alphanumerical characters and the punctuation characters -, _, ., :, +.

    Parses a simple reference name that only allows alphanumerical characters and the punctuation characters -, _, ., :, +.

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#reference-names.

    Definition Classes
    InlineParsers
  172. def simpleTable: Parser[Table]

    Parses a simple table.

  173. def skipWhitespace: Boolean

    Definition Classes
    MarkupParsers → RegexParsers
  174. def spanDirective(name: String): Option[DirectivePart[Span]]

    Retrieves the span directive with the specified name.

    Retrieves the span directive with the specified name.

    See laika.parse.rst.Directives for details on how to implement directives.

    Definition Classes
    StandardDirectiveParsersExplicitBlockParsers
  175. final lazy val spanParsers: Map[Char, Parser[Span]]

    The mapping of markup start characters to their corresponding span parsers.

    The mapping of markup start characters to their corresponding span parsers.

    A parser mapped to a start character is not required to successfully parse the subsequent input. If it fails the character that triggered the parser invocation will be treated as normal text. The mapping is merely used as a performance optimization. The parser will be invoked with the input offset pointing to the character after the one specified as the key for the mapping.

    Definition Classes
    InlineParsers
  176. def spans(parser: ⇒ TextParser, spanParsers: ⇒ Map[Char, Parser[Span]]): Parser[List[Span]]

    Parses a list of spans based on the specified helper parsers.

    Parses a list of spans based on the specified helper parsers.

    parser

    the parser for the text of the current span element

    returns

    the resulting parser

    Definition Classes
    InlineParsers
  177. def standardSpans(p: InlineParsers)(input: String): Either[String, Seq[Span]]

    Parses all standard inline markup supported by reStructuredText.

    Parses all standard inline markup supported by reStructuredText.

    p

    the standard inline parsers including all registered directives for recursive use

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  178. lazy val strong: Parser[Strong]

    Parses a span of text with strong emphasis.

    Definition Classes
    InlineParsers
  179. val subDelims: TextParser

    Parses a single sub-delimiter as defined in RFC 3986.

    Parses a single sub-delimiter as defined in RFC 3986.

    sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
    / "*" / "+" / "," / ";" / "="
    Definition Classes
    URIParsers
  180. def substitutionDefinition: Parser[Block with Serializable]

    Parses a substitution definition.

  181. lazy val substitutionRef: Parser[Reference with Serializable]

    Parses a substitution reference.

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

    Definition Classes
    Parsers
  183. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  184. def table(p: BlockParsers)(input: String): Either[String, Table]

    Parses one of the two table types supported by reStructuredText.

    Parses one of the two table types supported by reStructuredText.

    p

    the standard block parsers including all registered directives for recursive use

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  185. def target(input: String): Either[String, Span]

    Parses a target which might be a simple reference, a phrase reference or an uri.

    Parses a target which might be a simple reference, a phrase reference or an uri.

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  186. def text(parser: ⇒ TextParser, nested: ⇒ Map[Char, Parser[String]]): Parser[String]

    Parses text based on the specified helper parsers.

    Parses text based on the specified helper parsers.

    parser

    the parser for the text of the current element

    nested

    a mapping from the start character of a span to the corresponding parser for nested span elements

    returns

    the resulting parser

    Definition Classes
    InlineParsers
  187. val textLine: Parser[String]

    Parses a single text line from the current input offset (which may not be at the start of the line.

    Parses a single text line from the current input offset (which may not be at the start of the line. Fails for blank lines. Does not include the eol character(s).

    Definition Classes
    BlockParsers
  188. def textRole(name: String): Option[RoleDirectivePart[(String) ⇒ Span]]

    Retrieves the text role with the specified name.

    Retrieves the text role with the specified name.

    See laika.parse.rst.TextRoles for details on how to implement text roles.

    Definition Classes
    StandardDirectiveParsersExplicitBlockParsers
  189. def textRoleElements: List[CustomizedTextRole]

    All the base text roles supported by this parser not including any custom roles specified within document markup.

    All the base text roles supported by this parser not including any custom roles specified within document markup.

    Definition Classes
    BlockParsers
  190. val to: Parser[String]

    Parses a sequence of email addresses as defined in RFC 6068.

    Parses a sequence of email addresses as defined in RFC 6068.

    to = addr-spec *("," addr-spec )
    Definition Classes
    URIParsers
  191. implicit def toParserOps[A](parser: Parser[A]): ParserOps[A]

    Definition Classes
    BaseParsers
  192. def toString(): String

    Definition Classes
    AnyRef → Any
  193. final lazy val topLevelBlock: Parser[Block]

    Parses any kind of top-level block supported by a concrete markup language.

    Parses any kind of top-level block supported by a concrete markup language.

    Definition Classes
    BlockParsers
  194. val transition: Parser[Rule]

    Parses a transition (rule).

  195. def unicode(input: String): Either[String, String]

    Parses unicode values in various notations intertwined with normal text.

    Parses unicode values in various notations intertwined with normal text.

    input

    the input to parse

    returns

    Right in case of parser success and Left in case of failure, to adjust to the Directive API

  196. val unreserved: Parser[String]

    Parses a single unreserved character as defined in RFC 3986.

    Parses a single unreserved character as defined in RFC 3986.

    sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
    / "*" / "+" / "," / ";" / "="
    Definition Classes
    URIParsers
  197. lazy val uri: Parser[(String, String, String)]

    Parses a standalone HTTP or HTTPS hyperlink (with no surrounding markup).

    Parses a standalone HTTP or HTTPS hyperlink (with no surrounding markup).

    See http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#standalone-hyperlinks

    Definition Classes
    InlineParsers
  198. val userInfo: Parser[String]

    Parses the user info portion of a URI as defined in RFC 3986.

    Parses the user info portion of a URI as defined in RFC 3986.

    userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
    Definition Classes
    URIParsers
  199. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  202. val whiteSpace: Regex

    Attributes
    protected
    Definition Classes
    RegexParsers
  203. def withFailureMessage[T](p: ⇒ Parser[T], msg: String): Parser[T]

    Overrides the failure message to the specified parser.

    Overrides the failure message to the specified parser.

    Definition Classes
    ExplicitBlockParsers
  204. def withNestLevel[T](p: ⇒ Parser[T]): Parser[(Int, T)]

    Creates a new parser that produces a tuple containing the current nest level as well as the result from the specified parser.

    Creates a new parser that produces a tuple containing the current nest level as well as the result from the specified parser.

    The nest level is usually only used to prevent endless recursion of nested blocks.

    Definition Classes
    BlockParsers
  205. def ws: TextParser

    Parses horizontal whitespace (space and tab).

    Parses horizontal whitespace (space and tab). Always succeeds, consuming all whitespace found.

    Definition Classes
    BlockParsersMarkupParsers

Deprecated Value Members

  1. def lastNoSuccess: NoSuccess

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

  2. def lastNoSuccess_=(x: NoSuccess): Unit

    Definition Classes
    Parsers
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) lastNoSuccess was not thread-safe and will be removed in 2.11.0

Inherited from InlineParsers

Inherited from URIParsers

Inherited from parse.InlineParsers

Inherited from BlockParsers

Inherited from ExplicitBlockParsers

Inherited from TableParsers

Inherited from ListParsers

Inherited from parse.BlockParsers

Inherited from MarkupParsers

Inherited from BaseParsers

Inherited from RegexParsers

Inherited from Parsers

Inherited from AnyRef

Inherited from Any

Ungrouped