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

Function is_multiarg_func_call

src/cypher/cypher.c:1539–1547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1537}
1538
1539static bool is_multiarg_func_call(parser_t *p) {
1540 if (!check(p, TOK_IDENT) || p->pos + SKIP_ONE >= p->count) {
1541 return false;
1542 }
1543 if (p->tokens[p->pos + SKIP_ONE].type != TOK_LPAREN) {
1544 return false;
1545 }
1546 return multiarg_func_canonical(peek(p)->text) != NULL;
1547}
1548
1549/* Parse one function argument: a string/number literal or a var[.prop]. */
1550static int parse_func_arg(parser_t *p, cbm_func_arg_t *arg) {

Callers 2

parse_condition_lhsFunction · 0.85
parse_return_itemFunction · 0.85

Calls 3

multiarg_func_canonicalFunction · 0.85
peekFunction · 0.85
checkFunction · 0.70

Tested by

no test coverage detected