markdown :: MDLocation :: column_end=
Stopping column number (starting from 1).markdown :: MDLocation :: column_start
Starting column number (starting from 1).markdown :: MDLocation :: column_start=
Starting column number (starting from 1).markdown :: MDLocation :: defaultinit
markdown :: MDLocation :: line_end=
Stopping line number (starting from 1).markdown :: MDLocation :: line_start=
Starting line number (starting from 1).markdown $ MDLocation :: SELF
Type of this instance, automatically specialized in every classcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
markdown :: MDLocation :: column_end=
Stopping column number (starting from 1).markdown :: MDLocation :: column_start
Starting column number (starting from 1).markdown :: MDLocation :: column_start=
Starting column number (starting from 1).markdown :: MDLocation :: defaultinit
core :: Object :: 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.
markdown :: MDLocation :: line_end=
Stopping line number (starting from 1).markdown :: MDLocation :: line_start=
Starting line number (starting from 1).core :: Object :: output_class_name
Display class name on stdout (debug only).
# Location in a Markdown input.
class MDLocation
# Starting line number (starting from 1).
var line_start: Int
# Starting column number (starting from 1).
var column_start: Int
# Stopping line number (starting from 1).
var line_end: Int
# Stopping column number (starting from 1).
var column_end: Int
redef fun to_s do return "{line_start},{column_start}--{line_end},{column_end}"
# Return a copy of `self`.
fun copy: MDLocation do
return new MDLocation(line_start, column_start, line_end, column_end)
end
end
lib/markdown/markdown.nit:921,1--942,3