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