markdown :: LineOList :: defaultinit
markdown $ LineOList :: block_kind
Create a new block kind based on this line.markdown $ LineOList :: extract_value
Extract string value fromMDLine
.
markdown :: LineList :: block_kind
Create a new block kind based on this line.core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
markdown :: Line :: defaultinit
markdown :: LineList :: defaultinit
markdown :: LineOList :: defaultinit
core :: Object :: defaultinit
markdown :: LineList :: extract_value
Extract string value fromMDLine
.
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).
# An ordered list line.
class LineOList
super LineList
redef fun block_kind(block) do return new BlockOrderedList(block)
redef fun extract_value(line) do
return line.value.substring_from(line.value.index_of('.') + 2)
end
end
lib/markdown/markdown.nit:1933,1--1942,3