go/token.File.Base (method)

7 uses

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

	go/parser
		interface.go#L122: 		f.FileStart = token.Pos(file.Base())
		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/types
		resolver.go#L250: 			pos, end = token.Pos(f.Base()), token.Pos(f.Base()+f.Size())

	golang.org/x/tools/internal/gcimporter
		bimport.go#L56: 	return token.Pos(f.file.Base() + line - 1)