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

Function PushListDeps

common/ast_traverse.cc:212–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void PushListDeps(const ListExpr* list_expr, std::stack<StackRecord>* stack) {
213 const auto& elements = list_expr->elements();
214 for (auto it = elements.rbegin(); it != elements.rend(); ++it) {
215 const auto& element = *it;
216 stack->push(StackRecord(&element.expr()));
217 }
218}
219
220void PushStructDeps(const StructExpr* struct_expr,
221 std::stack<StackRecord>* stack) {

Callers 1

operator()Method · 0.70

Calls 2

StackRecordClass · 0.70
exprMethod · 0.45

Tested by

no test coverage detected