go/token.File.Offset (method)

4 uses

	go/token (current package)
		position.go#L323: func (f *File) Offset(p Pos) int {

	go/scanner
		scanner.go#L972: 					s.errorf(s.file.Offset(pos), "curly quotation mark %q (use neutral %q)", ch, '"')
		scanner.go#L974: 					s.errorf(s.file.Offset(pos), "illegal character %#U", ch)

	golang.org/x/tools/internal/gcimporter
		iexport.go#L653: 	offset := uint64(file.Offset(pos))