| 238 | } |
| 239 | |
| 240 | void PushListDeps(ListExpr* list_expr, std::stack<StackRecord>* stack) { |
| 241 | auto& elements = list_expr->mutable_elements(); |
| 242 | for (auto it = elements.rbegin(); it != elements.rend(); ++it) { |
| 243 | auto& element = *it; |
| 244 | stack->push(StackRecord(&element.mutable_expr())); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | void PushStructDeps(StructExpr* struct_expr, std::stack<StackRecord>* stack) { |
| 249 | auto& entries = struct_expr->mutable_fields(); |