(&self, var: &Rc<Path>)
| 426 | } |
| 427 | |
| 428 | fn var2itv(&self, var: &Rc<Path>) -> Interval { |
| 429 | if self.is_bottom() { |
| 430 | Interval::bottom() |
| 431 | } else { |
| 432 | self.intervals |
| 433 | .get(var) |
| 434 | .cloned() |
| 435 | .unwrap_or_else(Interval::top) |
| 436 | } |
| 437 | } |
| 438 | |
| 439 | fn set_interval(&mut self, var: &Rc<Path>, itv: Interval) { |
| 440 | if self.is_bottom() { |
no test coverage detected