A single point in the source text.
Represents one end (start or end) of a Position range. Line and column are 1-based to match text-editor conventions; offset is 0-based for direct use with String.prototype.slice().
String.prototype.slice()
Column number within the line (1-based: the first character is column 1)
Line number in the source text (1-based: the first line is line 1)
Character offset from the beginning of the source string (0-based)
A single point in the source text.
Represents one end (start or end) of a Position range. Line and column are 1-based to match text-editor conventions; offset is 0-based for direct use with
String.prototype.slice().