mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| typescript | ||
| context.go | ||
| doc.go | ||
| enums.go | ||
| log.go | ||
| protocol.go | ||
| span.go | ||
| tsclient.go | ||
| tsprotocol.go | ||
| tsserver.go | ||