mirror of
https://github.com/golang/go
synced 2024-11-18 19:54:44 -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> |
||
---|---|---|
.. | ||
cache.go | ||
check.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
modfile.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
sumfile.go | ||
token.go | ||
view.go | ||
watcher.go |