| 912 | } |
| 913 | |
| 914 | static bool is_nix_function_binding(TSNode node) { |
| 915 | /* tree-sitter-nix names a simple `x: body` binder `universal`; set |
| 916 | * destructuring uses the distinct `formals` field. */ |
| 917 | static const char *const fields[] = {"universal", "formals", NULL}; |
| 918 | return ancestor_field_binds(node, "function_expression", fields); |
| 919 | } |
| 920 | |
| 921 | static bool is_lean_binder_name(TSNode node) { |
| 922 | static const char *const binder_kinds[] = {"explicit_binder", "implicit_binder", |
no test coverage detected