type go/ast.SwitchStmt
13 uses
go/ast (current package)
ast.go#L720: SwitchStmt struct {
ast.go#L786: func (s *SwitchStmt) Pos() token.Pos { return s.Switch }
ast.go#L843: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L873: func (*SwitchStmt) stmtNode() {}
walk.go#L251: case *SwitchStmt:
go/parser
parser.go#L2270: return &ast.SwitchStmt{Switch: pos, Init: s1, Tag: p.makeExpr(s2, "switch expression"), Body: body}
resolver.go#L346: case *ast.SwitchStmt:
go/printer
nodes.go#L1415: case *ast.SwitchStmt:
go/types
labels.go#L190: case *ast.SwitchStmt, *ast.TypeSwitchStmt, *ast.SelectStmt, *ast.ForStmt, *ast.RangeStmt:
labels.go#L248: case *ast.SwitchStmt:
return.go#L54: case *ast.SwitchStmt:
return.go#L145: case *ast.SwitchStmt:
stmt.go#L583: case *ast.SwitchStmt:
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)