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

Function cbm_string_dispatch_suffixes

internal/cbm/extract_calls.c:71–76  ·  view source on GitHub ↗

Per-language callee-suffix dispatch table — returns a NULL-terminated list of method-name suffixes whose calls should be resolved by extracting class+method from the first two string arguments (e.g. IRIS Python interop). Kept here rather than in CBMLangSpec to avoid -Wmissing-field-initializers across 155 language rows.

Source from the content-addressed store, hash-verified

69// rather than in CBMLangSpec to avoid -Wmissing-field-initializers across 155
70// language rows.
71const char **cbm_string_dispatch_suffixes(CBMLanguage lang) {
72 if (lang == CBM_LANG_PYTHON) {
73 return s_py_dispatch_suffixes;
74 }
75 return NULL;
76}
77
78// Forward declarations
79static char *extract_callee_name(CBMArena *a, TSNode node, const char *source, CBMLanguage lang);

Callers 1

handle_callsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected