BlockParserBuilderOps

laika.bundle.BlockParserBuilderOps
case class BlockParserBuilderOps(parserFactory: RecursiveParsers => Parser[Block], recursive: Boolean, position: BlockPosition, precedence: Precedence, paragraphLineCheck: Option[PrefixedParser[Any]]) extends BlockParserBuilder

Builder API for block parsers that allows to set the parser precedence.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Builds a parser definition lazily by passing the recursive parsers of the host language.

Builds a parser definition lazily by passing the recursive parsers of the host language.

Attributes

Provides a test for the start of each line in plain paragraphs that indicates whether the line might be the start of a block identified by this parser. Without providing such a test the type of block produced by this parser can only occur after a blank line.

Provides a test for the start of each line in plain paragraphs that indicates whether the line might be the start of a block identified by this parser. Without providing such a test the type of block produced by this parser can only occur after a blank line.

Attributes

Indicates that this parser should only be applied for blocks nested within other blocks.

Indicates that this parser should only be applied for blocks nested within other blocks.

Attributes

Indicates that this parser should only be applied for top level block items, but not for blocks nested within other blocks.

Indicates that this parser should only be applied for top level block items, but not for blocks nested within other blocks.

Attributes

Indicates that this parser should only be applied after all built-in parsers have failed on a specific markup element.

Indicates that this parser should only be applied after all built-in parsers have failed on a specific markup element.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product