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

Function dg_node_text

internal/cbm/diagram.c:2908–2911  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2906}
2907
2908static dg_str_t dg_node_text(const CBMExtractCtx *ctx, TSNode n) {
2909 uint32_t b = ts_node_start_byte(n);
2910 return dg_s(ctx->source + b, ts_node_end_byte(n) - b);
2911}
2912
2913/* The first descendant of kind k, a null node for none. */
2914static TSNode dg_find(TSNode n, const char *k) {

Callers 2

dg_rst_captionFunction · 0.85
dg_rst_directiveFunction · 0.85

Calls 1

dg_sFunction · 0.85

Tested by

no test coverage detected