Marks a token for deletion.
(&mut self, _leaf_id: LeafId)
| 81 | |
| 82 | /// Marks a token for deletion. |
| 83 | pub fn delete_token(&mut self, _leaf_id: LeafId) { |
| 84 | // Track the deletion |
| 85 | self.stats.tokens_deleted += 1; |
| 86 | } |
| 87 | |
| 88 | /// Replaces a token's content (preserving its ID for blame). |
| 89 | pub fn replace_token(&mut self, _leaf_id: LeafId, new_content: &[u8]) { |
no outgoing calls