go/ast.IfStmt.Body (field)
8 uses
go/ast (current package)
ast.go#L691: Body *BlockStmt
ast.go#L819: return s.Body.End()
walk.go#L231: Walk(v, n.Body)
go/parser
parser.go#L1930: return &ast.IfStmt{If: pos, Init: init, Cond: cond, Body: body, Else: else_}
go/printer
nodes.go#L1328: p.block(s.Body, 1)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1881: if x.Body != nil {
encode_ast.gen.go#L1883: encode_ast_BlockStmt(e, x.Body)
encode_ast.gen.go#L1916: decode_ast_BlockStmt(d, &x.Body)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |