| 557 | } |
| 558 | |
| 559 | static void ts_decl_rec(ts_walk_t *w, TSNode name, bool exported, bool dflt) { |
| 560 | ts_sb_puts(w->sb, "\nD"); |
| 561 | ts_node_field(w, name); |
| 562 | char flags[CBM_SZ_4]; |
| 563 | size_t f = 0; |
| 564 | if (exported) { |
| 565 | flags[f++] = 'e'; |
| 566 | } |
| 567 | if (dflt) { |
| 568 | flags[f++] = 'd'; |
| 569 | } |
| 570 | ts_sb_field(w->sb, flags, f); |
| 571 | } |
| 572 | |
| 573 | static void ts_walk_namespaces(ts_walk_t *w, TSNode body, const char *prefix, int depth); |
| 574 |
no test coverage detected