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

Method extract_docstring

src/extraction/objc_extractor.rs:1340–1342  ·  view source on GitHub ↗

Extract docstrings from preceding comment nodes.

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

Source from the content-addressed store, hash-verified

1338
1339 /// Extract docstrings from preceding comment nodes.
1340 fn extract_docstring(state: &ExtractionState, node: TsNode<'_>) -> Option<String> {
1341 docstring_from_preceding_comments(&state.source, node, clean_c_doc_comment)
1342 }
1343
1344 // -------------------------------------------------------
1345 // Utility helpers

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected