| 1381 | } |
| 1382 | |
| 1383 | static void cs_process_using_statement(CSLSPContext *ctx, TSNode node) { |
| 1384 | /* `using (var x = expr) { ... }` — bind x. */ |
| 1385 | TSNode vd = cs_child_named_kind(node, "variable_declaration"); |
| 1386 | if (!ts_node_is_null(vd)) { |
| 1387 | /* Wrap as if it were a local_declaration_statement and dispatch. */ |
| 1388 | TSNode wrapper; |
| 1389 | memset(&wrapper, 0, sizeof(wrapper)); |
| 1390 | cs_process_local_decl(ctx, node); |
| 1391 | } |
| 1392 | } |
| 1393 | |
| 1394 | static void cs_process_assignment(CSLSPContext *ctx, TSNode node) { |
| 1395 | TSNode lhs = ts_node_child_by_field_name(node, "left", 4); |
no test coverage detected