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