mirror of
https://github.com/golang/go
synced 2024-10-01 07:38:32 -06: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> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
txtar | ||
xcontext |