| 32 | struct FieldList : public CelList { |
| 33 | int size() const override { return fields->size(); } |
| 34 | CelValue operator[](int index) const override { |
| 35 | auto name = fields->Get(index)->name(); |
| 36 | return CelValue::CreateStringView( |
| 37 | absl::string_view(name->c_str(), name->size())); |
| 38 | } |
| 39 | const flatbuffers::Vector<flatbuffers::Offset<reflection::Field>>* fields; |
| 40 | }; |
| 41 | FieldList keys_; |