markdown2 :: MdBlockStart :: at_column
Start fromnew_column
markdown2 :: MdBlockStart :: at_index
Start fromnew_index
markdown2 :: MdBlockStart :: block_parsers
Block parsers for this block startmarkdown2 :: MdBlockStart :: block_parsers=
Block parsers for this block startmarkdown2 :: MdBlockStart :: defaultinit
markdown2 :: MdBlockStart :: new_column=
Column where the parsing should startmarkdown2 :: MdBlockStart :: new_index=
Index where the parsing should startmarkdown2 :: MdBlockStart :: replace_active_block_parser
Does the block starting withself
terminate a previous block?
markdown2 :: MdBlockStart :: replace_active_block_parser=
Does the block starting withself
terminate a previous block?
markdown2 :: MdBlockStart :: replacing_active_block_parser
Start replacing the active block parsermarkdown2 $ MdBlockStart :: SELF
Type of this instance, automatically specialized in every classmarkdown2 :: MdBlockStart :: at_column
Start fromnew_column
markdown2 :: MdBlockStart :: at_index
Start fromnew_index
markdown2 :: MdBlockStart :: block_parsers
Block parsers for this block startmarkdown2 :: MdBlockStart :: block_parsers=
Block parsers for this block startcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
markdown2 :: MdBlockStart :: 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.
markdown2 :: MdBlockStart :: new_column=
Column where the parsing should startmarkdown2 :: MdBlockStart :: new_index=
Index where the parsing should startcore :: Object :: output_class_name
Display class name on stdout (debug only).markdown2 :: MdBlockStart :: replace_active_block_parser
Does the block starting withself
terminate a previous block?
markdown2 :: MdBlockStart :: replace_active_block_parser=
Does the block starting withself
terminate a previous block?
markdown2 :: MdBlockStart :: replacing_active_block_parser
Start replacing the active block parser
# Result object from starting parsing of a block
class MdBlockStart
# Block parsers for this block start
var block_parsers: Array[MdBlockParser]
# Index where the parsing should start
var new_index = -1
# Column where the parsing should start
var new_column = -1
# Does the block starting with `self` terminate a previous block?
var replace_active_block_parser = false
# Start from `new_index`
fun at_index(new_index: Int): MdBlockStart do
self.new_index = new_index
return self
end
# Start from `new_column`
fun at_column(new_column: Int): MdBlockStart do
self.new_column = new_column
return self
end
# Start replacing the active block parser
fun replacing_active_block_parser: MdBlockStart do
self.replace_active_block_parser = true
return self
end
end
lib/markdown2/markdown_block_parsing.nit:566,1--598,3