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

Method OnPreVisit

eval/compiler/constant_folding.cc:177–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177absl::Status ConstantFoldingExtension::OnPreVisit(PlannerContext& context,
178 const Expr& node) {
179 IsConst is_const = IsConstExpr(node, context.resolver());
180 is_const_.push_back(is_const);
181
182 return absl::OkStatus();
183}
184
185absl::Status ConstantFoldingExtension::OnPostVisit(PlannerContext& context,
186 const Expr& node) {

Callers 2

PreVisitExprMethod · 0.45
TEST_FFunction · 0.45

Calls 1

IsConstExprFunction · 0.85

Tested by 1

TEST_FFunction · 0.36