| 509 | }; |
| 510 | |
| 511 | static bool text_equals(CBMExtractCtx *ctx, TSNode node, const char *expected) { |
| 512 | char *text = cbm_node_text(ctx->arena, node, ctx->source); |
| 513 | return text && strcmp(text, expected) == 0; |
| 514 | } |
| 515 | |
| 516 | static bool named_child_contains(TSNode parent, uint32_t index, TSNode node) { |
| 517 | return ts_node_named_child_count(parent) > index && |
no test coverage detected