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

Function is_aggregate_tok

src/cypher/cypher.c:1193–1196  ·  view source on GitHub ↗

Helper: is token an aggregate function? */

Source from the content-addressed store, hash-verified

1191
1192/* Helper: is token an aggregate function? */
1193static bool is_aggregate_tok(cbm_token_type_t t) {
1194 return (t == TOK_COUNT || t == TOK_SUM || t == TOK_AVG || t == TOK_MIN_KW || t == TOK_MAX_KW ||
1195 t == TOK_COLLECT) != 0;
1196}
1197
1198/* Helper: is token a string function? */
1199static 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