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

Function is_comparison

src/semantic/ast_profile.c:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static bool is_comparison(const char *k) {
68 return strcmp(k, "binary_expression") == 0 || strcmp(k, "comparison_operator") == 0 ||
69 strcmp(k, "boolean_operator") == 0;
70}
71
72static bool is_arithmetic(const char *k) {
73 return strcmp(k, "unary_expression") == 0 || strcmp(k, "update_expression") == 0;

Callers 2

is_operator_nodeFunction · 0.85
accumulate_expressionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected