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

Function ts_decl_name

internal/cbm/doclink_ts.c:534–536  ·  view source on GitHub ↗

The name a declaration node declares; null when it has none. */

Source from the content-addressed store, hash-verified

532
533/* The name a declaration node declares; null when it has none. */
534static TSNode ts_decl_name(TSNode d) {
535 return ts_node_child_by_field_name(d, TS_FIELD("name"));
536}
537
538static bool ts_is_decl(TSNode d) {
539 static const char *const kinds[] = {"class_declaration",

Callers 2

ts_walk_declFunction · 0.85
ts_put_nestedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected