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

Function AddStandardLibraryDecls

checker/standard_library.cc:843–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

841}
842
843absl::Status AddStandardLibraryDecls(TypeCheckerBuilder& builder) {
844 CEL_RETURN_IF_ERROR(AddLogicalOps(builder));
845 CEL_RETURN_IF_ERROR(AddArithmeticOps(builder));
846 CEL_RETURN_IF_ERROR(AddTypeConversions(builder));
847 CEL_RETURN_IF_ERROR(AddEqualityOps(builder));
848 CEL_RETURN_IF_ERROR(AddContainerOps(builder));
849 CEL_RETURN_IF_ERROR(AddRelationOps(builder));
850 CEL_RETURN_IF_ERROR(AddStringFunctions(builder));
851 CEL_RETURN_IF_ERROR(AddRegexFunctions(builder));
852 CEL_RETURN_IF_ERROR(AddTimeFunctions(builder));
853 CEL_RETURN_IF_ERROR(AddTypeConstantVariables(builder));
854 CEL_RETURN_IF_ERROR(AddEnumConstants(builder));
855 return absl::OkStatus();
856}
857
858} // namespace
859

Callers

nothing calls this directly

Calls 11

AddLogicalOpsFunction · 0.85
AddArithmeticOpsFunction · 0.85
AddTypeConversionsFunction · 0.85
AddEqualityOpsFunction · 0.85
AddContainerOpsFunction · 0.85
AddRelationOpsFunction · 0.85
AddStringFunctionsFunction · 0.85
AddRegexFunctionsFunction · 0.85
AddTimeFunctionsFunction · 0.85
AddTypeConstantVariablesFunction · 0.85
AddEnumConstantsFunction · 0.85

Tested by

no test coverage detected