Location

constructor(uri: Uri, rangeOrPosition: JsAny)(source)

Creates a new location object.

Parameters

uri

The resource identifier.

rangeOrPosition

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

Online Documentation