Represents a location inside a resource, such as a line inside a text file.
new(uri:Uri, rangeOrPosition:EitherType<Range, Position>)
Creates a new location object.
Parameters:
uri
The resource identifier.
rangeOrPosition
The range or position. Positions will be converted to an empty range.
range:Range
The document range of this location.
uri:Uri
The resource identifier of this location.