Please note that some packages like xmlparsedata use their own start and end only to break ties
(e.g., xmlparsedata calculates them on a max col width approximation)
A position is a degenerate range, so the helpers live on SourceRange: SourceRange.getStart,
SourceRange.getEnd hand one out and SourceRange.formatPosition prints it.
See
source ranges for describing ranges of source positions.
A source position in a file.
Please note that some packages like
xmlparsedatause their own start and end only to break ties (e.g.,xmlparsedatacalculates them on a max col width approximation) A position is a degenerate range, so the helpers live on SourceRange: SourceRange.getStart, SourceRange.getEnd hand one out and SourceRange.formatPosition prints it.