go/printer.printer.lastTok (field)
10 uses
go/printer (current package)
printer.go#L64: lastTok token.Token // last token printed (token.ILLEGAL if it's whitespace)
printer.go#L884: switch p.lastTok {
printer.go#L888: p.prevOpen = p.lastTok
printer.go#L924: p.lastTok = token.ILLEGAL
printer.go#L930: p.lastTok = token.IDENT
printer.go#L936: p.lastTok = x.Kind
printer.go#L940: if mayCombine(p.lastTok, s[0]) {
printer.go#L960: p.lastTok = x
printer.go#L973: p.lastTok = token.STRING
printer.go#L982: wroteNewline, droppedFF := p.flush(next, p.lastTok)
![]() |
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. |