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

Function check

src/cypher/cypher.c:480–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480static bool check(parser_t *p, cbm_token_type_t type) {
481 return peek(p)->type == type;
482}
483
484static bool match(parser_t *p, cbm_token_type_t type) {
485 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