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

Function is_assignment

src/semantic/ast_profile.c:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static bool is_assignment(const char *k) {
77 return strcmp(k, "assignment_expression") == 0 || strcmp(k, "assignment_statement") == 0 ||
78 strcmp(k, "augmented_assignment") == 0 || strcmp(k, "short_var_declaration") == 0;
79}
80
81static bool is_string_lit(const char *k) {
82 return strcmp(k, "string") == 0 || strcmp(k, "string_literal") == 0 ||

Callers 2

is_operator_nodeFunction · 0.85
accumulate_expressionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected