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

Function parse_atom_expr

src/cypher/cypher.c:1228–1239  ·  view source on GitHub ↗

Atom: ( expr ) | condition */

Source from the content-addressed store, hash-verified

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