go/ast.FuncDecl.Doc (field)

13 uses

	go/ast (current package)
		ast.go#L995: 		Doc  *CommentGroup // associated documentation; or nil
		filter.go#L418: 							if decls[j] != nil && decls[j].(*FuncDecl).Doc == nil {
		walk.go#L323: 		if n.Doc != nil {
		walk.go#L324: 			Walk(v, n.Doc)

	go/doc
		example.go#L82: 			if f.Doc != nil {
		example.go#L83: 				doc = f.Doc.Text()
		example.go#L287: 			if d.Doc != nil {
		example.go#L288: 				comments = append(comments, d.Doc)
		reader.go#L91: 		Doc:  f.Doc.Text(),
		reader.go#L98: 		f.Doc = nil // doc consumed - remove from AST

	go/parser
		parser.go#L2806: 		Doc:  doc,

	go/printer
		nodes.go#L1921: 	p.setComment(d.Doc)
		printer.go#L1062: 		return n.Doc