go/printer.printer.last (field)
6 uses
go/printer (current package)
printer.go#L76: last token.Position // value of pos after calling writeString
printer.go#L343: p.last = p.pos
printer.go#L359: if pos.IsValid() && pos.Filename != p.last.Filename {
printer.go#L365: if pos.Line == p.last.Line && (prev == nil || prev.Text[1] != '/') {
printer.go#L446: if pos.IsValid() && p.last.IsValid() {
printer.go#L447: n = pos.Line - p.last.Line
![]() |
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. |