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

Method FromCheckerLibrary

compiler/compiler.h:68–72  ·  view source on GitHub ↗

Convenience conversion from the CheckerLibrary type. Note: if a related CompilerLibrary exists, prefer to use that to include expected parser configuration.

Source from the content-addressed store, hash-verified

66 // Note: if a related CompilerLibrary exists, prefer to use that to
67 // include expected parser configuration.
68 static CompilerLibrary FromCheckerLibrary(CheckerLibrary checker_library) {
69 return CompilerLibrary(std::move(checker_library.id),
70 /*configure_parser=*/nullptr,
71 std::move(checker_library.configure));
72 }
73
74 // For backwards compatibility. To be removed.
75 // NOLINTNEXTLINE(google-explicit-constructor)

Callers

nothing calls this directly

Calls 1

CompilerLibraryClass · 0.85

Tested by

no test coverage detected