The type of the context for the navigation location.
Creates a new cursor location.
Creates a new selection location.
Creates a new text content change location type.
Returns with the context of the location as a
Transforms the location into an object that can be safely serialized.
Returns with the human-consumable (JSON) string representation of the location argument.