| 123 | // } |
| 124 | #[derive(Clone, PartialEq, Eq, Debug)] |
| 125 | pub struct ExprSwitch { |
| 126 | pub default_case: Option<ExprBlock>, |
| 127 | pub inferred_type: Option<YulType>, |
| 128 | pub expr: Box<Expr>, |
| 129 | pub cases: Vec<ExprCase>, |
| 130 | } |
| 131 | |
| 132 | //Struct to represent a case block during a switch statement |
| 133 | //Ex. case 0 { result := 1 } |
nothing calls this directly
no outgoing calls
no test coverage detected