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

Function match

src/cypher/cypher.c:484–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482}
483
484static bool match(parser_t *p, cbm_token_type_t type) {
485 if (check(p, type)) {
486 advance(p);
487 return true;
488 }
489 return false;
490}
491
492static const cbm_token_t *expect(parser_t *p, cbm_token_type_t type) {
493 if (check(p, type)) {

Callers 15

parse_propsFunction · 0.85
parse_nodeFunction · 0.85
parse_hop_rangeFunction · 0.85
parse_rel_typesFunction · 0.85
parse_rel_bracketFunction · 0.85
parse_relFunction · 0.85
parse_in_listFunction · 0.85
parse_comparison_opFunction · 0.85
parse_exists_predicateFunction · 0.85
parse_condition_opFunction · 0.85
parse_condition_lhsFunction · 0.85
parse_condition_exprFunction · 0.85

Calls 2

advanceFunction · 0.85
checkFunction · 0.70

Tested by

no test coverage detected