go/token.FileSet.PositionFor (method)
5 uses
go/token (current package)
position.go#L512: func (s *FileSet) PositionFor(p Pos, adjusted bool) (pos Position) {
position.go#L525: return s.PositionFor(p, true)
go/ast
import.go#L56: return fset.PositionFor(pos, false).Line
go/printer
printer.go#L198: return p.fset.PositionFor(pos, false /* absolute position */)
printer.go#L204: p.cachedLine = p.fset.PositionFor(pos, false /* absolute position */).Line
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)