type go/ast.TypeSwitchStmt
14 uses
go/ast (current package)
ast.go#L712: TypeSwitchStmt struct {
ast.go#L771: func (s *TypeSwitchStmt) Pos() token.Pos { return s.Switch }
ast.go#L828: func (s *TypeSwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L858: func (*TypeSwitchStmt) stmtNode() {}
walk.go#L249: case *TypeSwitchStmt:
go/parser
parser.go#L2051: return &ast.TypeSwitchStmt{Switch: pos, Init: s1, Assign: s2, Body: body}
go/printer
nodes.go#L1359: case *ast.TypeSwitchStmt:
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3218: func encode_ast_TypeSwitchStmt(e *codec.Encoder, x *ast.TypeSwitchStmt) {
encode_ast.gen.go#L3241: func decode_ast_TypeSwitchStmt(d *codec.Decoder, p **ast.TypeSwitchStmt) {
encode_ast.gen.go#L3247: *p = ref.(*ast.TypeSwitchStmt)
encode_ast.gen.go#L3250: var x ast.TypeSwitchStmt
encode_ast.gen.go#L3274: codec.Register(&ast.TypeSwitchStmt{},
encode_ast.gen.go#L3275: func(e *codec.Encoder, x interface{}) { encode_ast_TypeSwitchStmt(e, x.(*ast.TypeSwitchStmt)) },
encode_ast.gen.go#L3277: var x *ast.TypeSwitchStmt
![]() |
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. |