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

Function php_decl_name

internal/cbm/doclink_php.c:585–589  ·  view source on GitHub ↗

The name of a type or function declaration, NUL-terminated in the arena. */

Source from the content-addressed store, hash-verified

583
584/* The name of a type or function declaration, NUL-terminated in the arena. */
585static const char *php_decl_name(php_walk_t *w, TSNode decl, size_t *len) {
586 TSNode name = ts_node_child_by_field_name(decl, TS_FIELD("name"));
587 *len = 0;
588 return ts_node_is_null(name) ? NULL : php_name_text(w, name, len);
589}
590
591/* `fqn` of a declared short name in the current block. */
592static const char *php_fqn(php_walk_t *w, const char *name, size_t len, size_t *out_len) {

Callers 3

php_typeFunction · 0.85
php_functionFunction · 0.85
php_count_nameFunction · 0.85

Calls 1

php_name_textFunction · 0.85

Tested by

no test coverage detected