markdown2 :: MdBlockParserFactory :: try_start
Can the associated block parser can start at the current line inparser
?
markdown2 $ MdBlockParserFactory :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).markdown2 :: MdBlockParserFactory :: try_start
Can the associated block parser can start at the current line inparser
?
markdown2 :: MdIndentedCodeBlockParserFactory
Indented code blocks parser factorymarkdown2 :: MdFencedCodeBlockParserFactory
Fenced code blocks parser factorymarkdown2 :: MdThematicBreakParserFactory
Thematic breaks parser factory
# Block parser factory for a block node for determining when a block starts
abstract class MdBlockParserFactory
# Can the associated block parser can start at the current line in `parser`?
#
# Return a new `MdBlockStart` if the block parser can start.
# Return null otherwise.
fun try_start(parser: MdParser, matched_block_parser: MdBlockParser):
nullable MdBlockStart is abstract
end
lib/markdown2/markdown_block_parsing.nit:555,1--564,3