ParserDefinition

laika.api.bundle.ParserDefinition
sealed trait ParserDefinition[E <: Element]

Defines a parser for a single kind of text markup, like a literal text span or a bullet list for example.

Attributes

Source
ParserDefinition.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

Indicates whether this parser produces child elements by recursively applying the parsers for the host language.

Indicates whether this parser produces child elements by recursively applying the parsers for the host language.

Attributes

Source
ParserDefinition.scala
def parser: Parser[E]

The parser for the block or span element.

The parser for the block or span element.

Attributes

Source
ParserDefinition.scala

Indicates whether the parser should be applied before the base parsers of the host language (high precedence) or after them.

Indicates whether the parser should be applied before the base parsers of the host language (high precedence) or after them.

Attributes

Source
ParserDefinition.scala