Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Location

Represents a location inside a resource, such as a line inside a text file.

Hierarchy

  • Location

Index

Constructors

Properties

Constructors

constructor

  • Creates a new location object.

    Parameters

    • uri: URL

      The resource identifier.

    • Optional rangeOrPosition: Range | Position

      The range or position. Positions will be converted to an empty range.

    Returns Location

Properties

Optional Readonly range

range: Range

The document range of this location.

Readonly uri

uri: URL

The resource identifier of this location.

Generated using TypeDoc