(state: &ExtractionState, node: TsNode<'_>)
| 493 | } |
| 494 | |
| 495 | fn first_line(state: &ExtractionState, node: TsNode<'_>) -> Option<String> { |
| 496 | let text = state.node_text(node); |
| 497 | text.lines().next().map(|l| l.trim().to_string()) |
| 498 | } |
| 499 | |
| 500 | fn build_result(state: ExtractionState, start: Instant) -> ExtractionResult { |
| 501 | ExtractionResult { |