MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / extract_docstring

Method extract_docstring

src/extraction/cpp_extractor.rs:2102–2104  ·  view source on GitHub ↗

Extract docstrings from preceding comment nodes.

(state: &ExtractionState, node: TsNode<'_>)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected