go/ast.CaseClause.Body (field)
9 uses
go/ast (current package)
ast.go#L700: Body []Stmt // statement list; or nil
ast.go#L822: if n := len(s.Body); n > 0 {
ast.go#L823: return s.Body[n-1].End()
walk.go#L238: walkStmtList(v, n.Body)
go/parser
parser.go#L1970: return &ast.CaseClause{Case: pos, List: list, Colon: colon, Body: body}
go/printer
nodes.go#L1352: p.stmtList(s.Body, 1, nextIsRBrace)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L649: if x.Body != nil {
encode_ast.gen.go#L651: encode_slice_ast_Stmt(e, x.Body)
encode_ast.gen.go#L680: decode_slice_ast_Stmt(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. |