| 68 | } |
| 69 | |
| 70 | static bool node_is(TSNode n, const char *kind) { |
| 71 | if (ts_node_is_null(n)) |
| 72 | return false; |
| 73 | return strcmp(ts_node_type(n), kind) == 0; |
| 74 | } |
| 75 | |
| 76 | static TSNode child_named(TSNode parent, const char *kind) { |
| 77 | if (ts_node_is_null(parent)) |
no outgoing calls
no test coverage detected