go/ast.CommClause.Body (field)
9 uses
go/ast (current package)
ast.go#L724: Body []Stmt // statement list; or nil
ast.go#L830: if n := len(s.Body); n > 0 {
ast.go#L831: return s.Body[n-1].End()
walk.go#L260: walkStmtList(v, n.Body)
go/parser
parser.go#L2112: return &ast.CommClause{Case: pos, Comm: comm, Colon: colon, Body: body}
go/printer
nodes.go#L1379: p.stmtList(s.Body, 1, nextIsRBrace)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L783: if x.Body != nil {
encode_ast.gen.go#L785: encode_slice_ast_Stmt(e, x.Body)
encode_ast.gen.go#L814: 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. |