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

Method Build

compiler/compiler_factory.cc:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 Validator& GetValidator() override { return validator_; }
144
145 absl::StatusOr<std::unique_ptr<Compiler>> Build() override {
146 CEL_ASSIGN_OR_RETURN(auto parser, parser_builder_->Build());
147 CEL_ASSIGN_OR_RETURN(auto type_checker, type_checker_builder_->Build());
148 return std::make_unique<CompilerImpl>(std::move(type_checker),
149 std::move(parser), validator_);
150 }
151
152 private:
153 std::unique_ptr<TypeCheckerBuilder> type_checker_builder_;

Callers 3

TEST_PFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

TEST_PFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36