| 929 | } |
| 930 | |
| 931 | static bool is_nix_function_binding(TSNode node) { |
| 932 | /* tree-sitter-nix names a simple `x: body` binder `universal`; set |
| 933 | * destructuring uses the distinct `formals` field. */ |
| 934 | static const char *const fields[] = {"universal", "formals", NULL}; |
| 935 | return ancestor_field_binds(node, "function_expression", fields); |
| 936 | } |
| 937 | |
| 938 | static bool is_lean_binder_name(TSNode node) { |
| 939 | static const char *const binder_kinds[] = {"explicit_binder", "implicit_binder", |
no test coverage detected