Returns the total number of token operations across all lines.
(&self)
| 226 | |
| 227 | /// Returns the total number of token operations across all lines. |
| 228 | pub fn token_count(&self) -> usize { |
| 229 | self.line_ops.iter().map(|line| line.leaf_op_count()).sum() |
| 230 | } |
| 231 | |
| 232 | /// Returns true if this file has any operations. |
| 233 | pub fn has_operations(&self) -> bool { |
nothing calls this directly
no test coverage detected