| 761 | } |
| 762 | |
| 763 | bool AR_EXP_ContainsAggregation(AR_ExpNode *root) { |
| 764 | if(AGGREGATION_NODE(root)) return true; |
| 765 | |
| 766 | if(AR_EXP_IsOperation(root)) { |
| 767 | for(int i = 0; i < root->op.child_count; i++) { |
| 768 | AR_ExpNode *child = root->op.children[i]; |
| 769 | if(AR_EXP_ContainsAggregation(child)) return true; |
| 770 | } |
| 771 | } |
| 772 | |
| 773 | return false; |
| 774 | } |
| 775 | |
| 776 | bool AR_EXP_ContainsFunc(const AR_ExpNode *root, const char *func) { |
| 777 | if(root == NULL) return false; |
no test coverage detected