Changes column references in `self` by the given remapping. Panics if a referred column is not present in `idx_map`!
(mut self, idx_map: &BTreeMap<usize, usize>)
| 335 | /// Changes column references in `self` by the given remapping. |
| 336 | /// Panics if a referred column is not present in `idx_map`! |
| 337 | fn remap(mut self, idx_map: &BTreeMap<usize, usize>) -> HirScalarExpr { |
| 338 | self.visit_columns_referring_to_root_level_mut(&mut |c| { |
| 339 | *c = idx_map[c]; |
| 340 | }); |
| 341 | self |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | /// # Aims and scope |
no test coverage detected