go/gopls/internal/span
Alan Donovan 3beecff0f6 gopls/internal/span: some cleanups
This change eliminates these redundant helper functions
- cache.rangeFromPositions
- source.LineToRange
- source.ByteOffsetsToRange
and makes various other simplifications and documentation
improvements.

Change-Id: Ic820ab560d71b88bde00b005e3a919334a5d1856
Reviewed-on: https://go-review.googlesource.com/c/tools/+/442015
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Run-TryBot: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2022-10-13 13:15:27 +00:00
..
parse.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
span.go gopls/internal/span: some cleanups 2022-10-13 13:15:27 +00:00
span_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
token.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
token_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
uri.go all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
uri_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
uri_windows_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
utf16.go gopls/internal/span: some cleanups 2022-10-13 13:15:27 +00:00
utf16_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00