MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / PushListDeps

Function PushListDeps

common/ast_rewrite.cc:240–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void 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
248void PushStructDeps(StructExpr* struct_expr, std::stack<StackRecord>* stack) {
249 auto& entries = struct_expr->mutable_fields();

Callers 1

operator()Method · 0.70

Calls 1

StackRecordClass · 0.70

Tested by

no test coverage detected