markdown :: TokenEscape :: defaultinit
markdown $ TokenEscape :: SELF
Type of this instance, automatically specialized in every classmarkdown $ TokenEscape :: emit
Output that token usingMarkdownEmitter::decorator
.
markdown :: Token :: _location
Location ofself
in the original input.
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
markdown :: Token :: defaultinit
markdown :: TokenEscape :: defaultinit
core :: Object :: defaultinit
MarkdownEmitter::decorator
.
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 :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).
# A markdown escape token.
class TokenEscape
super Token
redef fun emit(v) do
v.current_pos += 1
v.addc v.current_text.as(not null)[v.current_pos]
end
end
lib/markdown/markdown.nit:2304,1--2312,3