| 1002 | } |
| 1003 | |
| 1004 | static bool is_matlab_argument_binding(TSNode node) { |
| 1005 | for (TSNode parent = ts_node_parent(node); !ts_node_is_null(parent); |
| 1006 | parent = ts_node_parent(parent)) { |
| 1007 | const char *kind = ts_node_type(parent); |
| 1008 | if (strcmp(kind, "function_arguments") == 0 || strcmp(kind, "lambda_arguments") == 0) { |
| 1009 | return true; |
| 1010 | } |
| 1011 | } |
| 1012 | return false; |
| 1013 | } |
| 1014 | |
| 1015 | static bool is_vhdl_interface_binding(TSNode node) { |
| 1016 | static const char *const interface_kinds[] = { |