| 2906 | } |
| 2907 | |
| 2908 | static dg_str_t dg_node_text(const CBMExtractCtx *ctx, TSNode n) { |
| 2909 | uint32_t b = ts_node_start_byte(n); |
| 2910 | return dg_s(ctx->source + b, ts_node_end_byte(n) - b); |
| 2911 | } |
| 2912 | |
| 2913 | /* The first descendant of kind k, a null node for none. */ |
| 2914 | static TSNode dg_find(TSNode n, const char *k) { |
no test coverage detected