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

Function text_equals

internal/cbm/extract_usages.c:511–514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509};
510
511static bool text_equals(CBMExtractCtx *ctx, TSNode node, const char *expected) {
512 char *text = cbm_node_text(ctx->arena, node, ctx->source);
513 return text && strcmp(text, expected) == 0;
514}
515
516static bool named_child_contains(TSNode parent, uint32_t index, TSNode node) {
517 return ts_node_named_child_count(parent) > index &&

Callers 3

is_fennel_fn_bindingFunction · 0.85
is_elixir_def_bindingFunction · 0.85

Calls 1

cbm_node_textFunction · 0.85

Tested by

no test coverage detected