If self
is made of multiple code-blocks, then the location
starts at the first code-books and finish at the last one, thus includes anything between.
# The location of the whole docunit.
#
# If `self` is made of multiple code-blocks, then the location
# starts at the first code-books and finish at the last one, thus includes anything between.
redef var location is lazy do
return new Location(mdoc.location.file, lines.first, lines.last+1, columns.first+1, 0)
end
src/testing/testing_doc.nit:513,2--519,4