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