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

Function check

src/cypher/cypher.c:479–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479static bool check(parser_t *p, cbm_token_type_t type) {
480 return peek(p)->type == type;
481}
482
483static bool match(parser_t *p, cbm_token_type_t type) {
484 if (check(p, type)) {

Callers 15

matchFunction · 0.70
expectFunction · 0.70
parse_propsFunction · 0.70
parse_nodeFunction · 0.70
parse_hop_rangeFunction · 0.70
parse_rel_bracketFunction · 0.70
parse_in_listFunction · 0.70
parse_comparison_opFunction · 0.70
parse_condition_opFunction · 0.70
parse_condition_lhsFunction · 0.70
parse_condition_exprFunction · 0.70
parse_and_exprFunction · 0.70

Calls 1

peekFunction · 0.85

Tested by

no test coverage detected