MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / is_nix_function_binding

Function is_nix_function_binding

internal/cbm/extract_usages.c:931–936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

929}
930
931static 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
938static bool is_lean_binder_name(TSNode node) {
939 static const char *const binder_kinds[] = {"explicit_binder", "implicit_binder",

Callers 1

is_policy_bindingFunction · 0.85

Calls 1

ancestor_field_bindsFunction · 0.85

Tested by

no test coverage detected