(&self)
| 55 | } |
| 56 | |
| 57 | fn bang_op(&self) -> Result<Box<dyn Value>, String> { |
| 58 | Ok(Box::new(BoolValue::new(!self.value))) |
| 59 | } |
| 60 | |
| 61 | fn logical_or_op(&self, other: &Box<dyn Value>) -> Result<Box<dyn Value>, String> { |
| 62 | if let Some(other_bool) = other.as_any().downcast_ref::<BoolValue>() { |
no outgoing calls
no test coverage detected