(state: &ExtractionState, node: TsNode<'_>)
| 502 | } |
| 503 | |
| 504 | fn first_line(state: &ExtractionState, node: TsNode<'_>) -> Option<String> { |
| 505 | let text = state.node_text(node); |
| 506 | text.lines().next().map(|l| l.trim().to_string()) |
| 507 | } |
| 508 | |
| 509 | fn build_result(state: ExtractionState, start: Instant) -> ExtractionResult { |
| 510 | ExtractionResult { |