| 5227 | } |
| 5228 | |
| 5229 | static void c_rt_put_node(c_rt_out_t *out, TSNode node, const char *source) { |
| 5230 | uint32_t start = ts_node_start_byte(node); |
| 5231 | uint32_t end = ts_node_end_byte(node); |
| 5232 | if (end > start) { |
| 5233 | c_rt_put(out, source + start, (size_t)(end - start)); |
| 5234 | } |
| 5235 | } |
| 5236 | |
| 5237 | /* type_qualifier also covers keywords that are not part of the type |
| 5238 | * (`constexpr`, `_Noreturn`, `mutable`, `__extension__`, …). Keep only the ones |
no test coverage detected