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

Function php_stamp_resolved_site

internal/cbm/lsp/php_lsp.c:1424–1432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424static void php_stamp_resolved_site(PHPLSPContext *ctx, int first, TSNode site) {
1425 if (!ctx->resolved_calls || ts_node_is_null(site) || first < 0) {
1426 return;
1427 }
1428 for (int i = first; i < ctx->resolved_calls->count; i++) {
1429 ctx->resolved_calls->items[i].site_start_byte = ts_node_start_byte(site);
1430 ctx->resolved_calls->items[i].site_end_byte = ts_node_end_byte(site);
1431 }
1432}
1433
1434/* The method of a class the index does not hold. When the class came from a
1435 * vendor `use` (cross-file mode), the row is emitted above the pipeline's

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected