go/token.Position.Offset (field)

13 uses

	go/token (current package)
		position.go#L28: 	Offset   int    // offset, starting at 0
		position.go#L377: 	pos.Offset = offset

	go/ast
		commentmap.go#L162: 			qpos.Offset = infinity
		commentmap.go#L167: 		for r.end.Offset <= qpos.Offset {

	go/build
		read.go#L115: 	r.pos.Offset++
		read.go#L558: 		pos.Offset += n

	go/printer
		printer.go#L132: 			p.commentOffset = p.posFor(list[0].Pos()).Offset
		printer.go#L147: 	return p.commentOffset < next.Offset && (!p.impliedSemi || !p.commentNewline)
		printer.go#L226: 	p.pos.Offset += n
		printer.go#L258: 	p.pos.Offset += n
		printer.go#L324: 	p.pos.Offset += len(s)
		printer.go#L1369: 	p.flush(token.Position{Offset: infinity, Line: infinity}, token.EOF)