MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _AR_EXP_ResolveVariables

Function _AR_EXP_ResolveVariables

src/arithmetic/arithmetic_expression.c:388–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388static void _AR_EXP_ResolveVariables(AR_ExpNode *root, const Record r) {
389 ASSERT(r != NULL);
390
391 if(root == NULL) return;
392
393 switch(root->type) {
394 case AR_EXP_OP:
395 _AR_EXP_OpResolveVariables(root, r);
396 break;
397 case AR_EXP_OPERAND:
398 _AR_EXP_OperandResolveVariables(root, r);
399 break;
400 default:
401 ASSERT(false && "unknown arithmetic expression node type");
402 }
403}
404
405void AR_EXP_ResolveVariables(AR_ExpNode *root, const Record r) {
406 _AR_EXP_ResolveVariables(root, r);

Callers 2

AR_EXP_ResolveVariablesFunction · 0.85

Calls 2

Tested by

no test coverage detected