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

Function is_aggregate_tok

src/cypher/cypher.c:1327–1330  ·  view source on GitHub ↗

Helper: is token an aggregate function? */

Source from the content-addressed store, hash-verified

1325
1326/* Helper: is token an aggregate function? */
1327static bool is_aggregate_tok(cbm_token_type_t t) {
1328 return (t == TOK_COUNT || t == TOK_SUM || t == TOK_AVG || t == TOK_MIN_KW || t == TOK_MAX_KW ||
1329 t == TOK_COLLECT) != 0;
1330}
1331
1332/* Helper: is token a string function? */
1333static bool is_string_func_tok(cbm_token_type_t t) {

Callers 2

parse_return_itemFunction · 0.85
parse_order_by_exprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected