| 568 | } |
| 569 | |
| 570 | static bool call_node_contains(TSNode outer, TSNode inner) { |
| 571 | return !ts_node_is_null(outer) && !ts_node_is_null(inner) && |
| 572 | ts_node_start_byte(outer) <= ts_node_start_byte(inner) && |
| 573 | ts_node_end_byte(outer) >= ts_node_end_byte(inner); |
| 574 | } |
| 575 | |
| 576 | static bool call_node_text_equals(const char *source, TSNode node, const char *expected) { |
| 577 | if (!source || ts_node_is_null(node) || !expected) { |
no outgoing calls
no test coverage detected