mirror of
https://github.com/golang/go
synced 2024-11-19 03:54:42 -07:00
49b8ac185c
Currently there is no need for this because the file contents are part of the file handle. This change is in preparation for an impending improvement that tweaks the source code during the parse stage to fix certain kind of terminal parse errors. Any code that wants to use an *ast.File or *token.File in conjunction with the file contents needs access to the doctored source code so things line up. Change-Id: I59d83d3d6150aa1264761aa2c1f6c1269075a2ce Reviewed-on: https://go-review.googlesource.com/c/tools/+/218979 Run-TryBot: Muir Manders <muir@mnd.rs> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
mod_tidy.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |