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

Function parse_not_expr

src/cypher/cypher.c:1251–1261  ·  view source on GitHub ↗

NOT: NOT atom | atom */

Source from the content-addressed store, hash-verified

1249
1250/* NOT: NOT atom | atom */
1251static cbm_expr_t *parse_not_expr(parser_t *p) { // NOLINT(misc-no-recursion)
1252 if (match(p, TOK_NOT)) {
1253 if (!parse_depth_enter(p)) {
1254 return NULL;
1255 }
1256 cbm_expr_t *child = parse_not_expr(p);
1257 parse_depth_leave(p);
1258 return child ? expr_not(child) : NULL;
1259 }
1260 return parse_atom_expr(p);
1261}
1262
1263/* A chain `a OP b OP c ...` of one associative operator is linked along the
1264 * RIGHT child: OP(a, OP(b, OP(c, ...))). The chain's length is bounded only by

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