#include "third_party/blink/renderer/bindings/core/v8/async_iterable.h"
#include "third_party/blink/renderer/bindings/core/v8/active_script_wrappable_creation_key.h"
#include "third_party/blink/renderer/bindings/core/v8/script_function.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
namespace blink::bindings {
class AsyncIterationSourceBase::CallableCommon
: public ScriptFunction::Callable { … };
class AsyncIterationSourceBase::RunNextStepsCallable final
: public AsyncIterationSourceBase::CallableCommon { … };
class AsyncIterationSourceBase::RunFulfillStepsCallable final
: public AsyncIterationSourceBase::CallableCommon { … };
class AsyncIterationSourceBase::RunRejectStepsCallable final
: public AsyncIterationSourceBase::CallableCommon { … };
class AsyncIterationSourceBase::RunReturnStepsCallable final
: public AsyncIterationSourceBase::CallableCommon { … };
class AsyncIterationSourceBase::RunReturnFulfillStepsCallable final
: public AsyncIterationSourceBase::CallableCommon { … };
AsyncIterationSourceBase::AsyncIterationSourceBase(ScriptState* script_state,
Kind kind)
: … { … }
v8::Local<v8::Promise> AsyncIterationSourceBase::Next(
ScriptState* script_state,
ExceptionState& exception_state) { … }
v8::Local<v8::Promise> AsyncIterationSourceBase::Return(
ScriptState* script_state,
v8::Local<v8::Value> value,
ExceptionState& exception_state) { … }
void AsyncIterationSourceBase::Trace(Visitor* visitor) const { … }
v8::Local<v8::Value> AsyncIterationSourceBase::MakeEndOfIteration() const { … }
ScriptPromise<IDLAny> AsyncIterationSourceBase::RunNextSteps(
ScriptState* script_state) { … }
ScriptValue AsyncIterationSourceBase::RunFulfillSteps(
ScriptState* script_state,
ScriptValue iter_result_object_or_undefined) { … }
ScriptValue AsyncIterationSourceBase::RunRejectSteps(ScriptState* script_state,
ScriptValue reason) { … }
ScriptPromise<IDLAny> AsyncIterationSourceBase::RunReturnSteps(
ScriptState* script_state,
ScriptValue value) { … }
ScriptValue AsyncIterationSourceBase::RunReturnFulfillSteps(
ScriptState* script_state,
ScriptValue value) { … }
}