BlockParser

Builder API for block parsers.

The entry points provide access to the parsers for child blocks (recursive), child spans (withSpans) or escape sequences (withEscapedText). These are methods with decreasing power, as the parser for recursive blocks does also provide the span parsers.

If your parser implementation is completely independent from the host markup language you can use the standalone method.

class Object
trait Matchable
class Any

Value members

Concrete methods

Creates a parser definition for a parser that depends on the parsers of the host languages for recursively parsing child blocks.

Creates a parser definition for a parser that depends on the parsers of the host languages for recursively parsing child blocks.

Creates a parser definition for a parser that is independent from the parsers of the host languages.

Creates a parser definition for a parser that is independent from the parsers of the host languages.

Creates a parser definition for a parser that depends on the parsers for escape sequences of the host languages for parsing text.

Creates a parser definition for a parser that depends on the parsers for escape sequences of the host languages for parsing text.

Creates a parser definition for a parser that depends on the span parsers of the host languages for recursively parsing spans inside block elements.

Creates a parser definition for a parser that depends on the span parsers of the host languages for recursively parsing spans inside block elements.