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

Function is_control_switch

src/semantic/ast_profile.c:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static bool is_control_switch(const char *k) {
54 return strcmp(k, "switch_statement") == 0 || strcmp(k, "switch_expression") == 0 ||
55 strcmp(k, "match_expression") == 0 || strcmp(k, "type_switch_statement") == 0;
56}
57
58static bool is_control_try(const char *k) {
59 return strcmp(k, "try_statement") == 0 || strcmp(k, "try_expression") == 0 ||

Callers 2

is_operator_nodeFunction · 0.85
accumulate_control_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected