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

Function is_folded_reference

internal/cbm/extract_calls.c:84–87  ·  view source on GitHub ↗

A constant reference in a folding language (#706, #1147): when it does not * fold to a usable value it stays unresolved -- the raw map entry may hold an * unresolved "{}" base and is never a URL on its own. */

Source from the content-addressed store, hash-verified

82 * fold to a usable value it stays unresolved -- the raw map entry may hold an
83 * unresolved "{}" base and is never a URL on its own. */
84static bool is_folded_reference(const CBMExtractCtx *ctx, const char *kind) {
85 return cbm_url_fold_lang(ctx->language) &&
86 (strcmp(kind, "identifier") == 0 || strcmp(kind, "member_expression") == 0);
87}
88
89// Callee suffixes for IRIS Python interop string-dispatch. Kept at file scope
90// (not inside the function) to satisfy cppcheck variableScope.

Callers 4

process_keyword_argFunction · 0.85
extract_call_argsFunction · 0.85
extract_string_valueFunction · 0.85
extract_positional_urlFunction · 0.85

Calls 1

cbm_url_fold_langFunction · 0.85

Tested by

no test coverage detected