| 85 | } |
| 86 | |
| 87 | static bool cs_node_is(TSNode n, const char *kind) { |
| 88 | if (ts_node_is_null(n)) return false; |
| 89 | return strcmp(ts_node_type(n), kind) == 0; |
| 90 | } |
| 91 | |
| 92 | static TSNode cs_child_named_kind(TSNode parent, const char *kind) { |
| 93 | if (ts_node_is_null(parent)) return parent; |
no outgoing calls
no test coverage detected