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

Function is_hcl_attribute_binding

internal/cbm/extract_usages.c:992–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990}
991
992static bool is_hcl_attribute_binding(TSNode node) {
993 for (TSNode parent = ts_node_parent(node); !ts_node_is_null(parent);
994 parent = ts_node_parent(parent)) {
995 if (strcmp(ts_node_type(parent), "attribute") == 0) {
996 /* HCL's attribute production exposes no fields. The first named
997 * child is its key; the expression is the second named child. */
998 return named_child_contains(parent, 0, node);
999 }
1000 }
1001 return false;
1002}
1003
1004static bool is_matlab_argument_binding(TSNode node) {
1005 for (TSNode parent = ts_node_parent(node); !ts_node_is_null(parent);

Callers 1

is_policy_bindingFunction · 0.85

Calls 1

named_child_containsFunction · 0.85

Tested by

no test coverage detected