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
- Serializable
- Product
- Equals
- ParserDefinition
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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
- val startChars: NonEmptySet[Char]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated