| 534 | } |
| 535 | |
| 536 | static AR_EXP_Result _AR_EXP_EvaluateVariadic(AR_ExpNode *node, const Record r, SIValue *result) { |
| 537 | // Make sure entity record index is known. |
| 538 | if(node->operand.variadic.entity_alias_idx == IDENTIFIER_NOT_FOUND) { |
| 539 | if(!_AR_EXP_UpdateEntityIdx(&node->operand, r)) return EVAL_ERR; |
| 540 | } |
| 541 | |
| 542 | int aliasIdx = node->operand.variadic.entity_alias_idx; |
| 543 | |
| 544 | // the value was not created here; share with the caller |
| 545 | *result = SI_ShareValue(Record_Get(r, aliasIdx)); |
| 546 | |
| 547 | return EVAL_OK; |
| 548 | } |
| 549 | |
| 550 | static AR_EXP_Result _AR_EXP_EvaluateParam |
| 551 | ( |
no test coverage detected