go/ast.SwitchStmt.Init (field)

9 uses

	go/ast (current package)
		ast.go#L722: 		Init   Stmt       // initialization statement; or nil
		walk.go#L252: 		if n.Init != nil {
		walk.go#L253: 			Walk(v, n.Init)

	go/parser
		parser.go#L2270: 	return &ast.SwitchStmt{Switch: pos, Init: s1, Tag: p.makeExpr(s2, "switch expression"), Body: body}
		resolver.go#L349: 		if n.Init != nil {
		resolver.go#L350: 			ast.Walk(r, n.Init)
		resolver.go#L357: 			if n.Init != nil {

	go/printer
		nodes.go#L1417: 		p.controlClause(false, s.Init, s.Tag, nil)

	go/types
		stmt.go#L588: 		check.simpleStmt(s.Init)