type go/printer.whiteSpace
13 uses
go/printer (current package)
nodes.go#L48: func (p *printer) linebreak(line, min int, ws whiteSpace, newSection bool) (nbreaks int) {
nodes.go#L1724: func (p *printer) funcBody(headerSize int, sep whiteSpace, b *ast.BlockStmt) {
printer.go#L25: type whiteSpace byte
printer.go#L28: ignore = whiteSpace(0)
printer.go#L29: blank = whiteSpace(' ')
printer.go#L30: vtab = whiteSpace('\v')
printer.go#L31: newline = whiteSpace('\n')
printer.go#L32: formfeed = whiteSpace('\f')
printer.go#L33: indent = whiteSpace('>')
printer.go#L34: unindent = whiteSpace('<')
printer.go#L66: wsbuf []whiteSpace // delayed white space
printer.go#L99: p.wsbuf = make([]whiteSpace, 0, 16) // whitespace sequences are short
printer.go#L900: case whiteSpace:
![]() |
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. |