| 990 | } |
| 991 | |
| 992 | static 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 | |
| 1004 | static bool is_matlab_argument_binding(TSNode node) { |
| 1005 | for (TSNode parent = ts_node_parent(node); !ts_node_is_null(parent); |
no test coverage detected