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

Function call_node_contains

internal/cbm/extract_calls.c:570–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570static bool call_node_contains(TSNode outer, TSNode inner) {
571 return !ts_node_is_null(outer) && !ts_node_is_null(inner) &&
572 ts_node_start_byte(outer) <= ts_node_start_byte(inner) &&
573 ts_node_end_byte(outer) >= ts_node_end_byte(inner);
574}
575
576static bool call_node_text_equals(const char *source, TSNode node, const char *expected) {
577 if (!source || ts_node_is_null(node) || !expected) {

Callers 4

Calls

no outgoing calls

Tested by

no test coverage detected