Creates a new location object.
The resource identifier.
The range or position. Positions will be converted to an empty range.
Online Documentation