Expand description
Common utils
Includes range transformations between std::ops::Range and [swls_core::lsp_types::Range].
And commonly used Spanned.
Modules§
Structs§
Functions§
- lsp_
range_ to_ range - offset_
to_ position - offsets_
to_ range - position_
to_ offset - range_
to_ range - resolve_
iri - Resolve
relativeagainstbaseusing RFC 3986 path resolution, without any IRI validation. This intentionally accepts non-standard / “invalid” IRIs so that tokens in the source document can be round-tripped back to the triple store without percent-encoding transformations. - spanned
- token_
to_ location