go/ast.TypeSwitchStmt.Body (field)
8 uses
go/ast (current package)
ast.go#L716: Body *BlockStmt // CaseClauses only
ast.go#L828: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
walk.go#L254: Walk(v, n.Body)
go/parser
parser.go#L2051: return &ast.TypeSwitchStmt{Switch: pos, Init: s1, Assign: s2, Body: body}
go/printer
nodes.go#L1369: p.block(s.Body, 0)
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3234: if x.Body != nil {
encode_ast.gen.go#L3236: encode_ast_BlockStmt(e, x.Body)
encode_ast.gen.go#L3265: 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. |