go/printer.printer.setComment (method)
17 uses
go/printer (current package)
nodes.go#L72: func (p *printer) setComment(g *ast.CommentGroup) {
nodes.go#L436: p.setComment(&ast.CommentGroup{List: []*ast.Comment{{Slash: token.NoPos, Text: text}}})
nodes.go#L502: p.setComment(f.Doc)
nodes.go#L527: p.setComment(f.Comment)
nodes.go#L545: p.setComment(f.Doc)
nodes.go#L555: p.setComment(f.Comment)
nodes.go#L1487: p.setComment(s.Doc)
nodes.go#L1506: p.setComment(s.Comment)
nodes.go#L1560: p.setComment(s.Doc)
nodes.go#L1566: p.setComment(s.Comment)
nodes.go#L1573: p.setComment(s.Doc)
nodes.go#L1583: p.setComment(s.Comment)
nodes.go#L1586: p.setComment(s.Doc)
nodes.go#L1597: p.setComment(s.Comment)
nodes.go#L1605: p.setComment(d.Doc)
nodes.go#L1769: p.setComment(d.Doc)
nodes.go#L1839: p.setComment(src.Doc)
![]() |
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. |