| 464 | }; |
| 465 | |
| 466 | absl::flat_hash_set<int32_t> MakeOptionalIndicesSet( |
| 467 | const cel::ListExpr& create_list_expr) { |
| 468 | absl::flat_hash_set<int32_t> optional_indices; |
| 469 | for (size_t i = 0; i < create_list_expr.elements().size(); ++i) { |
| 470 | if (create_list_expr.elements()[i].optional()) { |
| 471 | optional_indices.insert(static_cast<int32_t>(i)); |
| 472 | } |
| 473 | } |
| 474 | return optional_indices; |
| 475 | } |
| 476 | |
| 477 | absl::flat_hash_set<int32_t> MakeOptionalIndicesSet( |
| 478 | const cel::StructExpr& create_struct_expr) { |
no test coverage detected