Iterate over modified lines.
(&self)
| 219 | |
| 220 | /// Iterate over modified lines. |
| 221 | pub fn modified_lines(&self) -> impl Iterator<Item = &LineChange<'a>> { |
| 222 | self.changes.iter().filter(|c| c.is_modified()) |
| 223 | } |
| 224 | |
| 225 | /// Get all token changes across all line changes. |
| 226 | pub fn all_token_changes(&self) -> impl Iterator<Item = &TokenChange<'a>> { |