Skip to content

Latest commit

 

History

History
57 lines (25 loc) · 554 Bytes

position.md

File metadata and controls

57 lines (25 loc) · 554 Bytes
description
Represents a line and character position.

Position

Constructor

new Position(line: number, character: number): Position

Properties

character: number
line: number

Methods

isBefore(other: Position): boolean
isEqual(other: Position): boolean
isAfter(other: Position): boolean