go/ast.FuncDecl.Doc (field)

17 uses

	go/ast (current package)
		ast.go#L1006: 		Doc  *CommentGroup // associated documentation; or nil
		filter.go#L432: 							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#L84: 			if f.Doc != nil {
		example.go#L85: 				doc = f.Doc.Text()
		example.go#L289: 			if d.Doc != nil {
		example.go#L290: 				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#L2830: 		Doc:  doc,

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

	go.pact.im/x/plumb/internal/discover
		discover.go#L212: 			mark(d.Doc)
		discover.go#L259: 	names, err := directiveNames(fd.Doc, pkg.Fset)

	golang.org/x/tools/go/ast/inspector
		walk.go#L313: 		if n.Doc != nil {
		walk.go#L314: 			walk(v, edge.FuncDecl_Doc, -1, n.Doc)