markdown :: MDLocation :: defaultinit
# 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