SpanParserDefinition

case class SpanParserDefinition(startChars: Type[Char], parser: Parser[Span], isRecursive: Boolean, precedence: Precedence) extends ParserDefinition[Span]

Defines a parser for a single kind of span element, like a literal text span or a link reference for example.

Value parameters:
isRecursive

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

parser

the parser for the span element

precedence

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

startChars

all start characters that can start this span (allows performance optimizations)

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