markdown :: TokenLink :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
markdown :: TokenLink :: defaultinit
core :: Object :: defaultinit
markdown :: Token :: defaultinit
MarkdownEmitter::decorator
.
markdown :: TokenLinkOrImage :: is_abbrev
Is the link construct an abbreviation?markdown :: TokenLinkOrImage :: is_abbrev=
Is the link construct an abbreviation?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.
self
in the original input.
markdown :: Token :: location=
Location ofself
in the original input.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# A markdown link token.
class TokenLink
super TokenLinkOrImage
redef fun emit_hyper(v) do
if is_abbrev and comment != null then
v.decorator.add_abbr(v, name.as(not null), comment.as(not null))
else
v.decorator.add_link(v, link.as(not null), name.as(not null), comment)
end
end
end
lib/markdown/markdown.nit:2190,1--2201,3