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

Function emit_unresolved

internal/cbm/lsp/php_lsp.c:1461–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1459}
1460
1461static void emit_unresolved(PHPLSPContext *ctx, const char *expr_text, const char *reason) {
1462 if (!ctx->resolved_calls || !ctx->enclosing_func_qn)
1463 return;
1464 CBMResolvedCall rc = {0};
1465 rc.caller_qn = ctx->enclosing_func_qn;
1466 rc.callee_qn = expr_text ? expr_text : "?";
1467 rc.strategy = "lsp_unresolved";
1468 rc.confidence = 0.0f;
1469 rc.reason = reason;
1470 cbm_resolvedcall_push(ctx->resolved_calls, ctx->arena, rc);
1471}
1472
1473/* ── statement-level scope binding ──────────────────────────────── */
1474

Callers

nothing calls this directly

Calls 1

cbm_resolvedcall_pushFunction · 0.85

Tested by

no test coverage detected