go/ast.FuncDecl.Body (field)

23 uses

	go/ast (current package)
		ast.go#L999: 		Body *BlockStmt    // function body; or nil for external (non-Go) function
		ast.go#L1017: 	if d.Body != nil {
		ast.go#L1018: 		return d.Body.End()
		walk.go#L331: 		if n.Body != nil {
		walk.go#L332: 			Walk(v, n.Body)

	go/doc
		example.go#L78: 			if f.Body == nil { // ast.File.Body nil dereference (see issue 28044)
		example.go#L85: 			output, unordered, hasOutput := exampleOutput(f.Body, file.Comments)
		example.go#L89: 				Code:        f.Body,
		example.go#L154: 	body := f.Body
		example.go#L305: 		Body: body,
		example.go#L399: 			if d.Body != nil {
		example.go#L400: 				ast.Inspect(d.Body, inspectFunc)
		example.go#L560: 			newF.Body, comments = stripOutputComment(f.Body, comments)
		reader.go#L406: 		fun.Body = nil

	go/parser
		parser.go#L2815: 		Body: body,
		resolver.go#L503: 		r.walkBody(n.Body)

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

	go/types
		decl.go#L860: 	if fdecl.Type.TypeParams.NumFields() > 0 && fdecl.Body == nil {
		decl.go#L866: 	if !check.conf.IgnoreFuncBodies && fdecl.Body != nil {
		decl.go#L868: 			check.funcBody(decl, obj.name, sig, fdecl.Body, nil)
		resolver.go#L38: 	return d.init != nil || d.fdecl != nil && d.fdecl.Body != nil
		resolver.go#L429: 						if d.decl.Body == nil {