DefaultRecursiveSpanParsers

Default implementation for parsing inline markup recursively.

class Object
trait Matchable
class Any

Type members

Classlikes

protected class RecursiveSpanParserDelegate(delegate: Parser[Seq[Span]]) extends RecursiveSpanParser

Value members

Abstract methods

protected def spanParsers: Seq[PrefixedParser[Span]]

All default span parsers registered for a host markup language.

All default span parsers registered for a host markup language.

Inherited methods

Adds support for escape sequences to the specified text parser.

Adds support for escape sequences to the specified text parser.

Value parameters:
p

the parser to add support for escape sequences to

Returns:

a parser for a text span that supports escape sequences

Inherited from:
DefaultEscapedTextParsers
def escapedUntil(char: Char, chars: Char*): Parser[String]

Parses a span of text until one of the specified characters 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.

Parses a span of text until one of the specified characters 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.

Inherited from:
DefaultEscapedTextParsers
def getSyntaxHighlighter(language: String): Option[RecursiveSpanParser]

Provides the syntax highlighter for the specified language if present.

Provides the syntax highlighter for the specified language if present.

Inherited from:
RecursiveSpanParsers

Concrete fields

lazy protected val defaultSpanParser: InlineParser[Span, List[Span]]

Inherited fields

lazy val escapedChar: Parser[String]

Parses a single escape character. In the default implementation any character can be escaped. Sub-traits may override this parser to restrict the number of escapable characters.

Parses a single escape character. In the default implementation any character can be escaped. Sub-traits may override this parser to restrict the number of escapable characters.

Inherited from:
DefaultEscapedTextParsers