Extract docstrings from preceding comment nodes.
(state: &ExtractionState, node: TsNode<'_>)
| 2100 | |
| 2101 | /// Extract docstrings from preceding comment nodes. |
| 2102 | fn extract_docstring(state: &ExtractionState, node: TsNode<'_>) -> Option<String> { |
| 2103 | docstring_from_preceding_comments(&state.source, node, clean_c_doc_comment) |
| 2104 | } |
| 2105 | |
| 2106 | // ------------------------------------------------------- |
| 2107 | // Utility helpers |
nothing calls this directly
no test coverage detected