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

Function parse_atom_expr

src/cypher/cypher.c:1102–1109  ·  view source on GitHub ↗

Atom: ( expr ) | condition */

Source from the content-addressed store, hash-verified

1100
1101/* Atom: ( expr ) | condition */
1102static cbm_expr_t *parse_atom_expr(parser_t *p) { // NOLINT(misc-no-recursion)
1103 if (match(p, TOK_LPAREN)) {
1104 cbm_expr_t *e = parse_or_expr(p);
1105 expect(p, TOK_RPAREN);
1106 return e;
1107 }
1108 return parse_condition_expr(p);
1109}
1110
1111/* NOT: NOT atom | atom */
1112static cbm_expr_t *parse_not_expr(parser_t *p) { // NOLINT(misc-no-recursion)

Callers 1

parse_not_exprFunction · 0.85

Calls 4

matchFunction · 0.85
parse_or_exprFunction · 0.85
expectFunction · 0.85
parse_condition_exprFunction · 0.85

Tested by

no test coverage detected