mirror of
https://github.com/golang/go
synced 2024-11-19 03:24:40 -07:00
5edc6aefed
A mapper is always uniquely tied to a file at a specific version, so just build it when we get a new *ast.File. We build the mapper using the *token.File associated with the particular *ast.File, which is why there is one per ParseGoHandle instead of FileHandle. Change-Id: Ida40981ef91f6133cdd07e9793337fcd67510fba Reviewed-on: https://go-review.googlesource.com/c/tools/+/194517 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
check_test.go | ||
check.go | ||
cmd_test.go | ||
cmd.go | ||
definition_test.go | ||
definition.go | ||
export_test.go | ||
format_test.go | ||
format.go | ||
info.go | ||
query.go | ||
serve.go |