case class SpanParserDefinition(startChars: NonEmptySet[Char], parser: Parser[Span], isRecursive: Boolean, precedence: Precedence) extends ParserDefinition[Span] with Product with Serializable
Defines a parser for a single kind of span element, like a literal text span or a link reference for example.
- startChars
all start characters that can start this span (allows performance optimizations)
- parser
the parser for the span element
- isRecursive
indicates whether this parser produces child elements by recursively applying the parsers for the host language
- precedence
indicates whether the parser should be applied before the base parsers of the host language (high precedence) or after them
- Alphabetic
- By Inheritance
- SpanParserDefinition
- Serializable
- Product
- Equals
- ParserDefinition
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SpanParserDefinition(startChars: NonEmptySet[Char], parser: Parser[Span], isRecursive: Boolean, precedence: Precedence)
- startChars
all start characters that can start this span (allows performance optimizations)
- parser
the parser for the span element
- isRecursive
indicates whether this parser produces child elements by recursively applying the parsers for the host language
- precedence
indicates whether the parser should be applied before the base parsers of the host language (high precedence) or after them
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isRecursive: Boolean
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.
- Definition Classes
- SpanParserDefinition → ParserDefinition
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parser: Parser[Span]
The parser for the block or span element.
The parser for the block or span element.
- Definition Classes
- SpanParserDefinition → ParserDefinition
- val precedence: Precedence
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.
- Definition Classes
- SpanParserDefinition → ParserDefinition
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val startChars: NonEmptySet[Char]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()