go/printer.printer.impliedSemi (field)
6 uses
go/printer (current package)
printer.go#L63: impliedSemi bool // if set, a linebreak implies a semicolon
printer.go#L153: return p.commentOffset < next.Offset && (!p.impliedSemi || !p.commentNewline)
printer.go#L922: p.impliedSemi = false
printer.go#L987: if !p.impliedSemi {
printer.go#L1010: p.impliedSemi = impliedSemi
printer.go#L1313: p.impliedSemi = false // EOF acts like a newline
![]() |
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. |