| 1422 | } |
| 1423 | |
| 1424 | static 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 |
no outgoing calls
no test coverage detected