go/ast.SwitchStmt.Init (field)
9 uses
go/ast (current package)
ast.go#L727: Init Stmt // initialization statement; or nil
walk.go#L228: if n.Init != nil {
walk.go#L229: Walk(v, n.Init)
go/parser
parser.go#L2268: 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#L642: check.simpleStmt(s.Init)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)