Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Range(start: Position, end: Position): Range
  • new Range(startLine: number, startColumn: number, endLine: number, endColumn: number): Range

Properties

Protected _end

_end: Position

Protected _start

_start: Position

Accessors

end

isEmpty

  • get isEmpty(): boolean

isSingleLine

  • get isSingleLine(): boolean

start

Methods

contains

intersection

isEqual

  • isEqual(other: Range): boolean

toJSON

  • toJSON(): any

union

with

Static isRange

  • isRange(thing: any): thing is Range