(&mut self, code: CodeObject)
| 185 | } |
| 186 | |
| 187 | pub fn run(&mut self, code: CodeObject) { |
| 188 | let mut op_arg_state = OpArgState::default(); |
| 189 | let _ = code.instructions.iter().try_for_each(|&word| { |
| 190 | let (instruction, arg) = op_arg_state.get(word); |
| 191 | self.process_instruction(instruction, arg, &code.constants, &code.names) |
| 192 | }); |
| 193 | } |
| 194 | |
| 195 | fn process_instruction( |
| 196 | &mut self, |
nothing calls this directly
no test coverage detected