go/printer.printer.out (field)
20 uses
go/printer (current package)
nodes.go#L802: startCol := p.out.Column - len("func")
nodes.go#L1763: return p.out.Column - startOutCol
nodes.go#L1774: startCol := p.out.Column - len("func ")
printer.go#L75: out token.Position // current position in output space
printer.go#L98: p.out = token.Position{Line: 1, Column: 1}
printer.go#L190: return p.out.Line - line
printer.go#L208: if pos.IsValid() && (p.out.Line != pos.Line || p.out.Filename != pos.Filename) {
printer.go#L213: p.out.Filename = pos.Filename
printer.go#L214: p.out.Line = pos.Line
printer.go#L230: p.out.Column += n
printer.go#L250: if p.out.Column == 1 {
printer.go#L263: p.out.Line += n
printer.go#L265: p.out.Column = 1
printer.go#L269: p.out.Column += n
printer.go#L284: if p.out.Column == 1 {
printer.go#L330: p.out.Line += nlines
printer.go#L333: p.out.Column = c
printer.go#L336: p.out.Column += len(s)
printer.go#L1005: *p.linePtr = p.out.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. |