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:914–919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

912}
913
914static 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
921static bool is_lean_binder_name(TSNode node) {
922 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