go/ast.SwitchStmt.Init (field)
11 uses
go/ast (current package)
ast.go#L738: Init Stmt // initialization statement; or nil
walk.go#L228: if n.Init != nil {
walk.go#L229: Walk(v, n.Init)
go/parser
parser.go#L2288: return &ast.SwitchStmt{Switch: pos, Init: s1, Tag: p.makeExpr(s2, "switch expression"), Body: body}
resolver.go#L353: if n.Init != nil {
resolver.go#L354: ast.Walk(r, n.Init)
resolver.go#L361: if n.Init != nil {
go/printer
nodes.go#L1479: p.controlClause(false, s.Init, s.Tag, nil)
go/types
stmt.go#L632: check.simpleStmt(s.Init)
golang.org/x/tools/go/ast/inspector
walk.go#L218: if n.Init != nil {
walk.go#L219: walk(v, edge.SwitchStmt_Init, -1, n.Init)