MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / php_member

Function php_member

internal/cbm/doclink_php.c:637–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635}
636
637static 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. */
653static void php_promoted(php_walk_t *w, TSNode method) {

Callers 3

php_promotedFunction · 0.85
php_elementsFunction · 0.85
php_type_bodyFunction · 0.85

Calls 3

php_name_textFunction · 0.85
php_sb_putsFunction · 0.85
php_sb_fieldFunction · 0.85

Tested by

no test coverage detected