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

Function check

src/cypher/cypher.c:487–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

485}
486
487static bool check(parser_t *p, cbm_token_type_t type) {
488 return peek(p)->type == type;
489}
490
491static bool match(parser_t *p, cbm_token_type_t type) {
492 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