MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / extract_member_docstring_status

Function extract_member_docstring_status

internal/cbm/extract_defs.c:2829–2838  ·  view source on GitHub ↗

Doc of a Field, Variable, enum member or Macro (code languages only). */

Source from the content-addressed store, hash-verified

2827
2828/* Doc of a Field, Variable, enum member or Macro (code languages only). */
2829static const char *extract_member_docstring_status(CBMExtractCtx *ctx, TSNode node,
2830 bool *complete) {
2831 if (!doc_lang_member_docs(ctx->language)) {
2832 if (complete) {
2833 *complete = true;
2834 }
2835 return NULL;
2836 }
2837 return doc_for_anchor_status(ctx, doc_anchor(ctx, node), complete);
2838}
2839
2840static const char *extract_member_docstring(CBMExtractCtx *ctx, TSNode node) {
2841 return extract_member_docstring_status(ctx, node, NULL);

Callers 2

extract_member_docstringFunction · 0.85
extract_csharp_varsFunction · 0.85

Calls 3

doc_lang_member_docsFunction · 0.85
doc_for_anchor_statusFunction · 0.85
doc_anchorFunction · 0.85

Tested by

no test coverage detected