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

Function parse_atom_expr

src/cypher/cypher.c:1227–1238  ·  view source on GitHub ↗

Atom: ( expr ) | condition */

Source from the content-addressed store, hash-verified

1225
1226/* Atom: ( expr ) | condition */
1227static cbm_expr_t *parse_atom_expr(parser_t *p) { // NOLINT(misc-no-recursion)
1228 if (match(p, TOK_LPAREN)) {
1229 if (!parse_depth_enter(p)) {
1230 return NULL;
1231 }
1232 cbm_expr_t *e = parse_or_expr(p);
1233 parse_depth_leave(p);
1234 expect(p, TOK_RPAREN);
1235 return e;
1236 }
1237 return parse_condition_expr(p);
1238}
1239
1240/* NOT: NOT atom | atom */
1241static cbm_expr_t *parse_not_expr(parser_t *p) { // NOLINT(misc-no-recursion)

Callers 1

parse_not_exprFunction · 0.85

Calls 6

matchFunction · 0.85
parse_depth_enterFunction · 0.85
parse_or_exprFunction · 0.85
parse_depth_leaveFunction · 0.85
expectFunction · 0.85
parse_condition_exprFunction · 0.85

Tested by

no test coverage detected