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

Function is_control_for

src/semantic/ast_profile.c:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43static bool is_control_for(const char *k) {
44 return strcmp(k, "for_statement") == 0 || strcmp(k, "for_range_loop") == 0 ||
45 strcmp(k, "for_expression") == 0 || strcmp(k, "for_in_clause") == 0;
46}
47
48static bool is_control_while(const char *k) {
49 return strcmp(k, "while_statement") == 0 || strcmp(k, "while_expression") == 0 ||

Callers 2

is_operator_nodeFunction · 0.85
accumulate_control_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected