(&self, name: &str, constant: u8)
| 375 | } |
| 376 | |
| 377 | fn constant_instruction(&self, name: &str, constant: u8) { |
| 378 | let name = format!("OP_{name}"); |
| 379 | println!( |
| 380 | "{:-16} {:4} '{}'", |
| 381 | name, constant, self.constans[constant as usize] |
| 382 | ); |
| 383 | } |
| 384 | |
| 385 | fn byte_instruction(&self, name: &str, byte: u8) { |
| 386 | let name = format!("OP_{name}"); |
no outgoing calls
no test coverage detected