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

Function is_control_if

src/semantic/ast_profile.c:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36} profile_frame_t;
37
38static bool is_control_if(const char *k) {
39 return strcmp(k, "if_statement") == 0 || strcmp(k, "if_expression") == 0 ||
40 strcmp(k, "elif_clause") == 0;
41}
42
43static bool is_control_for(const char *k) {
44 return strcmp(k, "for_statement") == 0 || strcmp(k, "for_range_loop") == 0 ||

Callers 3

is_operator_nodeFunction · 0.85
accumulate_control_flowFunction · 0.85
cbm_ast_profile_computeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected