Constructors
constructor
- new Point(line, column): Point
Parameters
- line: number
- column: number
Properties
Readonly
column
column: number
Readonly
line
line: number
Methods
compareTo
- compareTo(other): number
Returns number
equals
- equals(other): boolean
Returns boolean
isAfter
- isAfter(other): boolean
Returns boolean
isBefore
- isBefore(other): boolean
Returns boolean
isSameOrAfter
- isSameOrAfter(other): boolean
Returns boolean
isSameOrBefore
- isSameOrBefore(other): boolean
Returns boolean
A location in a source code file. The line should be in 1..n, the column in 0..n.
Consider a file with one line, containing text "HELLO":