BlockParserDefinition

case class BlockParserDefinition(startChars: Set[Char], parser: Parser[Block], isRecursive: Boolean, position: BlockPosition, precedence: Precedence, paragraphLineCheck: Option[PrefixedParser[Any]]) extends ParserDefinition[Block]

Defines a parser for a single kind of block element, like a quoted block or a bullet list for example.

Value parameters:
isRecursive

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

paragraphLineCheck

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

parser

the parser for the block element

position

indicates whether this parser is responsible for root or nested elements only, or for both

precedence

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

startChars

the optional start characters that can start this block (allows performance optimizations when defined)

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product