1
0
mirror of https://github.com/golang/go synced 2024-10-01 03:38:32 -06:00
go/internal/lsp/protocol
Rebecca Stambler a857023c21 internal/lsp: use protocol.Range for diagnostics instead of span.Span
This is the first in a series of many changes that will change the API
of the source package to use different types for positions. Using
token.Pos is particularly fragile, since the pos has to refer to the
specific *ast.File from which it was derived.

Change-Id: I70c9b806f7dd45b2e229954ebdcdd86e2cf3bbbb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190340
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-16 17:06:24 +00:00
..
typescript internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
context.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
doc.go internal/lsp: the core lsp protocol 2018-09-25 15:17:08 +00:00
enums.go internal/lsp: fix watched file protocol constants 2019-07-31 19:43:47 +00:00
protocol.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
span.go internal/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
tsclient.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
tsprotocol.go internal/lsp: fix watched file protocol constants 2019-07-31 19:43:47 +00:00
tsserver.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00