| 635 | } |
| 636 | |
| 637 | static void php_member(php_walk_t *w, char kind, TSNode name) { |
| 638 | size_t nl = 0; |
| 639 | const char *nt = php_name_text(w, name, &nl); |
| 640 | if (nl && nt[0] == '$') { |
| 641 | nt++; |
| 642 | nl--; |
| 643 | } |
| 644 | if (!nl) { |
| 645 | return; |
| 646 | } |
| 647 | php_sb_puts(w->sb, "\nK"); |
| 648 | php_sb_field(w->sb, &kind, SKIP_ONE); |
| 649 | php_sb_field(w->sb, nt, nl); |
| 650 | } |
| 651 | |
| 652 | /* Promoted constructor parameters are properties. */ |
| 653 | static void php_promoted(php_walk_t *w, TSNode method) { |
no test coverage detected