Parse while loop
(self, step_data: Dict[str, Any])
| 211 | } |
| 212 | |
| 213 | def _parse_while_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 214 | """Parse while loop""" |
| 215 | return { |
| 216 | "type": "while_loop", |
| 217 | "condition": step_data.get("condition", ""), |
| 218 | "max_iterations": step_data.get("max_iterations", 10), |
| 219 | "steps": self._parse_steps_list(step_data.get("steps", [])), |
| 220 | } |
| 221 | |
| 222 | def _parse_switch_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 223 | """Parse switch statement""" |