Extract docstrings from preceding comment nodes.
(state: &ExtractionState, node: TsNode<'_>)
| 1349 | |
| 1350 | /// Extract docstrings from preceding comment nodes. |
| 1351 | fn extract_docstring(state: &ExtractionState, node: TsNode<'_>) -> Option<String> { |
| 1352 | docstring_from_preceding_comments(&state.source, node, Self::clean_comment) |
| 1353 | } |
| 1354 | |
| 1355 | /// Strip comment markers from a single Pascal comment text. |
| 1356 | fn clean_comment(comment: &str) -> String { |
nothing calls this directly
no test coverage detected