go/ast.FuncDecl.Body (field)

23 uses

	go/ast (current package)
		ast.go#L997: 		Body *BlockStmt    // function body; or nil for external (non-Go) function
		ast.go#L1015: 	if d.Body != nil {
		ast.go#L1016: 		return d.Body.End()
		walk.go#L357: 		if n.Body != nil {
		walk.go#L358: 			Walk(v, n.Body)

	go/doc
		example.go#L77: 			if f.Body == nil { // ast.File.Body nil dereference (see issue 28044)
		example.go#L84: 			output, unordered, hasOutput := exampleOutput(f.Body, file.Comments)
		example.go#L88: 				Code:        f.Body,
		example.go#L153: 	body := f.Body
		example.go#L241: 			if d.Body != nil {
		example.go#L242: 				ast.Inspect(d.Body, inspectFunc)
		example.go#L361: 		Body: body,
		example.go#L401: 			newF.Body, comments = stripOutputComment(f.Body, comments)
		reader.go#L413: 		fun.Body = nil

	go/parser
		parser.go#L2807: 		Body: body,
		resolver.go#L499: 		r.walkBody(n.Body)

	go/printer
		nodes.go#L1845: 	p.funcBody(p.distanceFrom(d.Pos(), startCol), vtab, d.Body)

	go/types
		decl.go#L799: 	if fdecl.Type.TypeParams.NumFields() > 0 && fdecl.Body == nil {
		decl.go#L805: 	if !check.conf.IgnoreFuncBodies && fdecl.Body != nil {
		decl.go#L807: 			check.funcBody(decl, obj.name, sig, fdecl.Body, nil)
		resolver.go#L36: 	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
		resolver.go#L418: 						if d.decl.Body == nil {