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

Function peek

src/cypher/cypher.c:473–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473static const cbm_token_t *peek(parser_t *p) {
474 if (p->pos >= p->count) {
475 return &p->tokens[p->count - SKIP_ONE]; /* EOF */
476 }
477 return &p->tokens[p->pos];
478}
479
480static const cbm_token_t *advance(parser_t *p) {
481 if (p->pos >= p->count) {

Callers 15

checkFunction · 0.85
expectFunction · 0.85
parse_hop_rangeFunction · 0.85
parse_exists_predicateFunction · 0.85
parse_condition_opFunction · 0.85
parse_condition_lhsFunction · 0.85
is_named_func_callFunction · 0.85
parse_named_func_itemFunction · 0.85
is_multiarg_func_callFunction · 0.85
parse_func_argFunction · 0.85
parse_multiarg_func_itemFunction · 0.85
parse_aggregate_itemFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected