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

Method RegisterCompilerLibrary

env/internal/ext_registry.cc:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27namespace env_internal {
28
29void ExtensionRegistry::RegisterCompilerLibrary(
30 absl::string_view name, absl::string_view alias, int version,
31 absl::AnyInvocable<CompilerLibrary() const> library_factory) {
32 library_registry_.push_back(
33 LibraryRegistration(name, alias, version, std::move(library_factory)));
34}
35
36absl::StatusOr<CompilerLibrary> ExtensionRegistry::GetCompilerLibrary(
37 absl::string_view name, int version) const {

Callers 1

TESTFunction · 0.45

Calls 1

LibraryRegistrationClass · 0.85

Tested by 1

TESTFunction · 0.36