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

Method extract_docstring

src/extraction/c_extractor.rs:1361–1363  ·  view source on GitHub ↗

Extract docstrings from preceding comment nodes.

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

Source from the content-addressed store, hash-verified

1359
1360 /// Extract docstrings from preceding comment nodes.
1361 fn extract_docstring(state: &ExtractionState, node: TsNode<'_>) -> Option<String> {
1362 docstring_from_preceding_comments(&state.source, node, clean_c_comment)
1363 }
1364
1365 // -------------------------------------------------------
1366 // Utility helpers

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected