Constructors
constructor
- new Position(lineStart, columnStart, lineEnd?, columnEnd?): Position
Parameters
- lineStart: number
- columnStart: number
Optional
lineEnd: numberOptional
columnEnd: number
Properties
Optional
columnEnd
columnEnd?: number
columnStart
columnStart: number
Optional
lineEnd
lineEnd?: number
lineStart
lineStart: number
Methods
equals
- equals(other): boolean
Returns boolean
toJSON
- toJSON(): {
columnEnd: number;
columnStart: number;
lineEnd: number;
lineStart: number;
} Returns {
columnEnd: number;
columnStart: number;
lineEnd: number;
lineStart: number;
}
columnEnd: number
columnStart: number
lineEnd: number
lineStart: number
toString
- toString(): string
Returns string