go/token.File.Size (method)
7 uses
go/token (current package)
position.go#L123: func (f *File) Size() int {
go/parser
interface.go#L123: f.FileEnd = token.Pos(file.Base() + file.Size())
parser.go#L456: res = token.Pos(p.file.Base() + p.file.Size()) // EOF position
go/scanner
scanner.go#L125: if file.Size() != len(src) {
scanner.go#L126: panic(fmt.Sprintf("file size (%d) does not match src len (%d)", file.Size(), len(src)))
go/types
resolver.go#L250: pos, end = token.Pos(f.Base()), token.Pos(f.Base()+f.Size())
golang.org/x/tools/internal/gcimporter
iexport.go#L465: size := uint64(file.Size())
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)