The end of the range.
The start of the range.
Whether this range is collapsed.
The location to test.
Whether a location is within the range.
Whether this
and other
are equal. They are equal if they
are the same object or if they have equal start and ends.
Whether the two endpoints of the range are valid.
Make a DOM range.
The range. Or undefined
if either the start or end are not
pointing to valid positions.
Same as makeDOMRange but throws instead of returning undefined
.
Generated using TypeDoc
Represents a range spanning locations indicated by two DLoc objects. Though this is not enforced at the VM level, objects of this class are to be considered immutable.