Push a new alias region, bypassing deduplication. This is used by the CLIF text parser to faithfully represent the source text. The verifier will then check for duplicate `user_id`s.
(&mut self, data: AliasRegionData)
| 535 | /// This is used by the CLIF text parser to faithfully represent the |
| 536 | /// source text. The verifier will then check for duplicate `user_id`s. |
| 537 | pub fn push(&mut self, data: AliasRegionData) -> AliasRegion { |
| 538 | let user_id = data.user_id; |
| 539 | let key = self.alias_regions.push(data); |
| 540 | self.dedupe_map.insert(user_id, key); |
| 541 | key |
| 542 | } |
| 543 | |
| 544 | /// Returns `true` if this set already contains a region with the given |
| 545 | /// `user_id`. |