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

Function is_control_try

src/semantic/ast_profile.c:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58static bool is_control_try(const char *k) {
59 return strcmp(k, "try_statement") == 0 || strcmp(k, "try_expression") == 0 ||
60 strcmp(k, "catch_clause") == 0 || strcmp(k, "except_clause") == 0;
61}
62
63static bool is_return(const char *k) {
64 return strcmp(k, "return_statement") == 0 || strcmp(k, "return_expression") == 0;

Callers 2

is_operator_nodeFunction · 0.85
accumulate_control_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected