go/token.FileSet.File (method)
8 uses
go/token (current package)
position.go#L500: func (s *FileSet) File(p Pos) (f *File) {
go/ast
import.go#L49: fset.File(d.Rparen).MergeLine(rParenLine)
import.go#L118: beg := fset.File(begSpecs).LineStart(lineAt(fset, begSpecs))
import.go#L120: endFile := fset.File(endSpecs)
import.go#L197: fset.File(p).MergeLine(lineAt(fset, p))
go/doc
doc.go#L185: f := fset.File(files[i].Pos())
golang.org/x/pkgsite/internal/godoc/internal/doc
doc.go#L197: f := fset.File(files[i].Pos())
example.go#L154: tokenFile := fset.File(file.Package)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |