go/printer.printer.flush (method)
6 uses
go/printer (current package)
nodes.go#L83: p.flush(p.posFor(g.List[0].Pos()), token.ILLEGAL)
nodes.go#L534: p.flush(p.posFor(rbrace), token.RBRACE) // make sure we don't lose the last line comment
nodes.go#L561: p.flush(p.posFor(rbrace), token.RBRACE) // make sure we don't lose the last line comment
printer.go#L982: wroteNewline, droppedFF := p.flush(next, p.lastTok)
printer.go#L1019: func (p *printer) flush(next token.Position, tok token.Token) (wroteNewline, droppedFF bool) {
printer.go#L1314: p.flush(token.Position{Offset: infinity, Line: infinity}, token.EOF)
 |
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. |