go/token.File.Base (method)
5 uses
go/token (current package)
position.go#L117: func (f *File) Base() int {
go/parser
parser.go#L413: res = token.Pos(p.file.Base() + p.file.Size()) // EOF position
go/types
resolver.go#L241: pos, end = token.Pos(f.Base()), token.Pos(f.Base()+f.Size())
golang.org/x/tools/internal/gcimporter
bimport.go#L372: return token.Pos(f.file.Base() + line - 1)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)