(&mut self, var: &Rc<Path>, itv: Interval)
| 437 | } |
| 438 | |
| 439 | fn set_interval(&mut self, var: &Rc<Path>, itv: Interval) { |
| 440 | if self.is_bottom() { |
| 441 | return; |
| 442 | } |
| 443 | if itv.is_bottom() { |
| 444 | self.set_to_bottom(); |
| 445 | } else if itv.is_top() { |
| 446 | self.intervals.remove(var); |
| 447 | } else { |
| 448 | self.intervals.insert(var.clone(), itv); |
| 449 | } |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | impl<Type> Debug for IntervalAbstractDomain<Type> |
no test coverage detected