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

Function call_node_contains

internal/cbm/extract_calls.c:526–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526static bool call_node_contains(TSNode outer, TSNode inner) {
527 return !ts_node_is_null(outer) && !ts_node_is_null(inner) &&
528 ts_node_start_byte(outer) <= ts_node_start_byte(inner) &&
529 ts_node_end_byte(outer) >= ts_node_end_byte(inner);
530}
531
532static bool call_node_text_equals(const char *source, TSNode node, const char *expected) {
533 if (!source || ts_node_is_null(node) || !expected) {

Callers 4

Calls

no outgoing calls

Tested by

no test coverage detected