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

Function parse_not_expr

src/cypher/cypher.c:1242–1252  ·  view source on GitHub ↗

NOT: NOT atom | atom */

Source from the content-addressed store, hash-verified

1240
1241/* NOT: NOT atom | atom */
1242static cbm_expr_t *parse_not_expr(parser_t *p) { // NOLINT(misc-no-recursion)
1243 if (match(p, TOK_NOT)) {
1244 if (!parse_depth_enter(p)) {
1245 return NULL;
1246 }
1247 cbm_expr_t *child = parse_not_expr(p);
1248 parse_depth_leave(p);
1249 return child ? expr_not(child) : NULL;
1250 }
1251 return parse_atom_expr(p);
1252}
1253
1254/* AND: not (AND not)* */
1255static cbm_expr_t *parse_and_expr(parser_t *p) { // NOLINT(misc-no-recursion)

Callers 1

parse_and_exprFunction · 0.85

Calls 5

matchFunction · 0.85
parse_depth_enterFunction · 0.85
parse_depth_leaveFunction · 0.85
expr_notFunction · 0.85
parse_atom_exprFunction · 0.85

Tested by

no test coverage detected