(&self)
| 356 | } |
| 357 | |
| 358 | fn plus_op(&self) -> Result<Box<dyn Value>, String> { |
| 359 | Ok(Box::new(IntValue::new(self.value))) |
| 360 | } |
| 361 | |
| 362 | fn neg_op(&self) -> Result<Box<dyn Value>, String> { |
| 363 | Ok(Box::new(IntValue::new(-self.value))) |
no outgoing calls
no test coverage detected