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

Function text_equals

internal/cbm/extract_usages.c:504–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502};
503
504static bool text_equals(CBMExtractCtx *ctx, TSNode node, const char *expected) {
505 char *text = cbm_node_text(ctx->arena, node, ctx->source);
506 return text && strcmp(text, expected) == 0;
507}
508
509static bool named_child_contains(TSNode parent, uint32_t index, TSNode node) {
510 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