(state: &ExtractionState, node: TsNode<'_>)
| 527 | } |
| 528 | |
| 529 | fn first_line(state: &ExtractionState, node: TsNode<'_>) -> Option<String> { |
| 530 | let text = state.node_text(node); |
| 531 | text.lines().next().map(|l| l.trim().to_string()) |
| 532 | } |
| 533 | |
| 534 | fn build_result(state: ExtractionState, start: Instant) -> ExtractionResult { |
| 535 | ExtractionResult { |