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)