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

Function peek

src/cypher/cypher.c:466–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466static const cbm_token_t *peek(parser_t *p) {
467 if (p->pos >= p->count) {
468 return &p->tokens[p->count - SKIP_ONE]; /* EOF */
469 }
470 return &p->tokens[p->pos];
471}
472
473static const cbm_token_t *advance(parser_t *p) {
474 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