| 19 | namespace google::api::expr::runtime { |
| 20 | |
| 21 | cel::RuntimeOptions ConvertToRuntimeOptions(const InterpreterOptions& options) { |
| 22 | return cel::RuntimeOptions{/*.container=*/"", |
| 23 | options.unknown_processing, |
| 24 | options.enable_missing_attribute_errors, |
| 25 | options.enable_timestamp_duration_overflow_errors, |
| 26 | options.short_circuiting, |
| 27 | options.enable_comprehension, |
| 28 | options.comprehension_max_iterations, |
| 29 | options.enable_comprehension_list_append, |
| 30 | options.enable_comprehension_mutable_map, |
| 31 | options.enable_regex, |
| 32 | options.regex_max_program_size, |
| 33 | options.enable_string_conversion, |
| 34 | options.enable_string_concat, |
| 35 | options.enable_list_concat, |
| 36 | options.enable_list_contains, |
| 37 | options.fail_on_warnings, |
| 38 | options.enable_qualified_type_identifiers, |
| 39 | options.enable_heterogeneous_equality, |
| 40 | options.enable_empty_wrapper_null_unboxing, |
| 41 | options.enable_lazy_bind_initialization, |
| 42 | options.max_recursion_depth, |
| 43 | options.enable_recursive_tracing, |
| 44 | options.enable_fast_builtins}; |
| 45 | } |
| 46 | |
| 47 | } // namespace google::api::expr::runtime |
no outgoing calls