type go/ast.SwitchStmt
18 uses
go/ast (current package)
ast.go#L736: SwitchStmt struct {
ast.go#L803: func (s *SwitchStmt) Pos() token.Pos { return s.Switch }
ast.go#L860: func (s *SwitchStmt) End() token.Pos { return s.Body.End() }
ast.go#L889: func (*SwitchStmt) stmtNode() {}
walk.go#L227: case *SwitchStmt:
go/parser
parser.go#L2288: return &ast.SwitchStmt{Switch: pos, Init: s1, Tag: p.makeExpr(s2, "switch expression"), Body: body}
resolver.go#L350: case *ast.SwitchStmt:
go/printer
nodes.go#L1477: case *ast.SwitchStmt:
go/types
labels.go#L188: case *ast.SwitchStmt, *ast.TypeSwitchStmt, *ast.SelectStmt, *ast.ForStmt, *ast.RangeStmt:
labels.go#L246: case *ast.SwitchStmt:
return.go#L54: case *ast.SwitchStmt:
return.go#L145: case *ast.SwitchStmt:
stmt.go#L627: case *ast.SwitchStmt:
golang.org/x/tools/go/ast/edge
edge.go#L280: SwitchStmt_Body: info[*ast.SwitchStmt]("Body"),
edge.go#L281: SwitchStmt_Init: info[*ast.SwitchStmt]("Init"),
edge.go#L282: SwitchStmt_Tag: info[*ast.SwitchStmt]("Tag"),
golang.org/x/tools/go/ast/inspector
typeof.go#L202: case *ast.SwitchStmt:
walk.go#L217: case *ast.SwitchStmt: