markdown2 :: MdVisitor :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
markdown2 :: MdVisitor :: 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).
# A visitor for Markdown AST
interface MdVisitor
# Start visiting `node`
fun enter_visit(node: MdNode) do visit(node)
# Visit `node`
#
# Method to define in specific visitor.
# It should not be called directly but used by `enter_visit`.
protected fun visit(node: MdNode) is abstract
end
lib/markdown2/markdown_ast.nit:151,1--162,3