(&mut self, node: Node<'_>)
| 34 | } |
| 35 | |
| 36 | fn compact(&mut self, node: Node<'_>) -> Result<String, &'static str> { |
| 37 | Ok(self |
| 38 | .normalized(node)? |
| 39 | .into_iter() |
| 40 | .map(|token| token.text) |
| 41 | .collect()) |
| 42 | } |
| 43 | |
| 44 | fn issue(&self, rule: Rule, node: Node<'_>, detail: impl Into<String>) -> StructuralIssue { |
| 45 | StructuralIssue { |