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

Function advance

src/cypher/cypher.c:472–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472static const cbm_token_t *advance(parser_t *p) {
473 if (p->pos >= p->count) {
474 return &p->tokens[p->count - SKIP_ONE];
475 }
476 return &p->tokens[p->pos++];
477}
478
479static bool check(parser_t *p, cbm_token_type_t type) {
480 return peek(p)->type == type;

Callers 15

matchFunction · 0.85
expectFunction · 0.85
parse_nodeFunction · 0.85
parse_hop_rangeFunction · 0.85
parse_rel_bracketFunction · 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_and_exprFunction · 0.85
parse_xor_exprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected