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

Function eval_func_arg

src/cypher/cypher.c:3565–3570  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

3563
3564/* Resolve a function argument to its string value (literal or var.prop). */
3565static const char *eval_func_arg(binding_t *b, const cbm_func_arg_t *a) {
3566 if (a->literal) {
3567 return a->literal;
3568 }
3569 return binding_get_virtual(b, a->variable, a->property);
3570}
3571
3572/* Evaluate a multi-argument scalar function into func_buf (or a direct value). */
3573static 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