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

Function eval_func_arg

src/cypher/cypher.c:4159–4164  ·  view source on GitHub ↗

Resolve a function argument to its string value (literal or var.prop). */

Source from the content-addressed store, hash-verified

4157
4158/* Resolve a function argument to its string value (literal or var.prop). */
4159static const char *eval_func_arg(binding_t *b, const cbm_func_arg_t *a) {
4160 if (a->literal) {
4161 return a->literal;
4162 }
4163 return binding_get_virtual(b, a->variable, a->property);
4164}
4165
4166/* Evaluate a multi-argument scalar function into func_buf (or a direct value). */
4167static const char *eval_multiarg_func(binding_t *b, const cbm_return_item_t *item, char *buf,

Callers 1

eval_multiarg_funcFunction · 0.85

Calls 1

binding_get_virtualFunction · 0.85

Tested by

no test coverage detected