1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:44:42 -07:00
go/internal/span
Ian Cottrell b40df0fb21 internal/span: adding a source location package to unify the pos conversions
This implements a standard way of describing source locations along with
printing and parsing of those locations and conversion to and from the token.Pos
forms.

Change-Id: Ibb3df0a282bc2effb0fa8bd3a51bb0d281b2ffb1
Reviewed-on: https://go-review.googlesource.com/c/tools/+/163778
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-03-08 14:21:31 +00:00
..
parse.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
span_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
span.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token111.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token112.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
token.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
uri_test.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00
uri.go internal/span: adding a source location package to unify the pos conversions 2019-03-08 14:21:31 +00:00