go/token.File.Size (method)

6 uses

	go/token (current package)
		position.go#L122: func (f *File) Size() int {

	go/parser
		parser.go#L413: 			res = token.Pos(p.file.Base() + p.file.Size()) // EOF position

	go/scanner
		scanner.go#L129: 	if file.Size() != len(src) {
		scanner.go#L130: 		panic(fmt.Sprintf("file size (%d) does not match src len (%d)", file.Size(), len(src)))

	go/types
		resolver.go#L241: 			pos, end = token.Pos(f.Base()), token.Pos(f.Base()+f.Size())

	golang.org/x/tools/internal/gcimporter
		iexport.go#L206: 	size := uint64(file.Size())