go/token.FileSet.last (field)
5 uses
go/token (current package)
position.go#L390: last *File // cache of last file looked up
position.go#L448: s.last = f
position.go#L476: if f := s.last; f != nil && f.base <= int(p) && int(p) <= f.base+f.size {
position.go#L487: s.last = f // race is ok - s.last is only a cache
serialize.go#L43: s.last = nil
![]() |
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. |