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

Method Next1

common/values/parsed_json_list_value.cc:298–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 }
297
298 absl::StatusOr<bool> Next1(
299 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
300 google::protobuf::MessageFactory* absl_nonnull message_factory,
301 google::protobuf::Arena* absl_nonnull arena,
302 Value* absl_nonnull key_or_value) override {
303 ABSL_DCHECK(descriptor_pool != nullptr);
304 ABSL_DCHECK(message_factory != nullptr);
305 ABSL_DCHECK(arena != nullptr);
306 ABSL_DCHECK(key_or_value != nullptr);
307
308 if (index_ >= size_) {
309 return false;
310 }
311 *key_or_value = common_internal::ParsedJsonValue(
312 &reflection_.Values(*message_, index_), arena);
313 ++index_;
314 return true;
315 }
316
317 absl::StatusOr<bool> Next2(
318 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,

Callers

nothing calls this directly

Calls 2

ParsedJsonValueFunction · 0.85
ValuesMethod · 0.80

Tested by

no test coverage detected