| 194 | } |
| 195 | |
| 196 | static bool is_node_kind(TSNode node, const char *kind) { |
| 197 | if (ts_node_is_null(node)) |
| 198 | return false; |
| 199 | return strcmp(ts_node_type(node), kind) == 0; |
| 200 | } |
| 201 | |
| 202 | static TSNode child_by_kind(TSNode parent, const char *kind) { |
| 203 | if (ts_node_is_null(parent)) |
nothing calls this directly
no outgoing calls
no test coverage detected