| 32 | namespace cel { |
| 33 | |
| 34 | absl::Status RegisterStandardFunctions(FunctionRegistry& registry, |
| 35 | const RuntimeOptions& options) { |
| 36 | CEL_RETURN_IF_ERROR(RegisterArithmeticFunctions(registry, options)); |
| 37 | CEL_RETURN_IF_ERROR(RegisterComparisonFunctions(registry, options)); |
| 38 | CEL_RETURN_IF_ERROR(RegisterContainerFunctions(registry, options)); |
| 39 | CEL_RETURN_IF_ERROR(RegisterContainerMembershipFunctions(registry, options)); |
| 40 | CEL_RETURN_IF_ERROR(RegisterLogicalFunctions(registry, options)); |
| 41 | CEL_RETURN_IF_ERROR(RegisterRegexFunctions(registry, options)); |
| 42 | CEL_RETURN_IF_ERROR(RegisterStringFunctions(registry, options)); |
| 43 | CEL_RETURN_IF_ERROR(RegisterTimeFunctions(registry, options)); |
| 44 | CEL_RETURN_IF_ERROR(RegisterEqualityFunctions(registry, options)); |
| 45 | |
| 46 | return RegisterTypeConversionFunctions(registry, options); |
| 47 | } |
| 48 | |
| 49 | } // namespace cel |