go/ast.FuncDecl.Doc (field)

22 uses

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

	go/doc
		example.go#L81: 			if f.Doc != nil {
		example.go#L82: 				doc = f.Doc.Text()
		example.go#L333: 			if d.Doc != nil {
		example.go#L334: 				comments = append(comments, d.Doc)
		reader.go#L64: 		Doc:  f.Doc.Text(),
		reader.go#L71: 		f.Doc = nil // doc consumed - remove from AST

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

	go/printer
		nodes.go#L1769: 	p.setComment(d.Doc)
		printer.go#L1044: 		return n.Doc

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L1485: 	if x.Doc != nil {
		encode_ast.gen.go#L1487: 		encode_ast_CommentGroup(e, x.Doc)
		encode_ast.gen.go#L1526: 			decode_ast_CommentGroup(d, &x.Doc)

	golang.org/x/pkgsite/internal/godoc/internal/doc
		example.go#L81: 			if f.Doc != nil {
		example.go#L82: 				doc = f.Doc.Text()
		example.go#L267: 			if d.Doc != nil {
		example.go#L268: 				comments = append(comments, d.Doc)
		reader.go#L63: 	text := f.Doc.Text()
		reader.go#L73: 		f.Doc = nil // doc consumed - remove from AST