chromium/third_party/blink/renderer/bindings/core/v8/iterable.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/bindings/core/v8/iterable.h"

#include <array>

#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "v8/include/v8-container.h"
#include "v8/include/v8-object.h"
#include "v8/include/v8-primitive.h"

namespace blink {
namespace bindings {

v8::Local<v8::Object> ESCreateIterResultObject(ScriptState* script_state,
                                               bool done,
                                               v8::Local<v8::Value> value) {}

v8::Local<v8::Object> ESCreateIterResultObject(ScriptState* script_state,
                                               bool done,
                                               v8::Local<v8::Value> item1,
                                               v8::Local<v8::Value> item2) {}

}  // namespace bindings

bool V8UnpackIterationResult(ScriptState* script_state,
                             v8::Local<v8::Object> sync_iteration_result,
                             v8::Local<v8::Value>* out_value,
                             bool* out_done) {}

}  // namespace blink