Direct identifiers and direct, statically-named TS member values passed as * arguments are narrow syntactic candidates only. A language LSP must still * prove one target at this exact occurrence before the graph upgrades USAGE to * CALL_REFERENCE; unresolved, reassigned, and composite expressions stay USAGE. */ One step up from `site`, on the walk cursor when the caller has one. Every * other
| 1497 | * deadline used to cut off mid-walk, so the slow path and the nondeterminism |
| 1498 | * it forced were the same defect seen from two ends. */ |
| 1499 | static bool csharp_site_parent(TSTreeCursor *cursor, TSNode site, TSNode *parent, |
| 1500 | const char **field) { |
| 1501 | if (!cursor) { |
| 1502 | usage_slow_parent_fallback_test_note(); |
| 1503 | } |
| 1504 | return occurrence_parent(cursor, site, parent, field); |
| 1505 | } |
| 1506 | |
| 1507 | static TSNode csharp_callable_value_site(TSNode node, TSNode parent, const char *parent_field, |
| 1508 | TSTreeCursor *cursor) { |
no test coverage detected