| 502 | }; |
| 503 | |
| 504 | static bool text_equals(CBMExtractCtx *ctx, TSNode node, const char *expected) { |
| 505 | char *text = cbm_node_text(ctx->arena, node, ctx->source); |
| 506 | return text && strcmp(text, expected) == 0; |
| 507 | } |
| 508 | |
| 509 | static bool named_child_contains(TSNode parent, uint32_t index, TSNode node) { |
| 510 | return ts_node_named_child_count(parent) > index && |
no test coverage detected