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

Method Create

common/ast_traverse.cc:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326} // namespace common_internal
327
328AstTraversal AstTraversal::Create(const cel::Expr& ast,
329 const TraversalOptions& options) {
330 AstTraversal instance(options);
331 instance.state_ = std::make_unique<common_internal::AstTraversalState>();
332 instance.state_->stack.push(StackRecord(&ast));
333 return instance;
334}
335
336AstTraversal::AstTraversal(TraversalOptions options) : options_(options) {}
337

Callers

nothing calls this directly

Calls 1

StackRecordClass · 0.70

Tested by

no test coverage detected