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

// Copyright 2020 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/script_evaluation_result.h"

#include "base/feature_list.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/mojom/script/script_type.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"

namespace blink {

ScriptEvaluationResult::ScriptEvaluationResult(
    mojom::blink::ScriptType script_type,
    ResultType result_type,
    v8::Local<v8::Value> value)
    :{}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromClassicNotRun() {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromModuleNotRun() {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromClassicSuccess(
    v8::Local<v8::Value> value) {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromModuleSuccess(
    v8::Local<v8::Value> value) {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromClassicExceptionRethrown() {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromClassicException(
    v8::Local<v8::Value> exception) {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromModuleException(
    v8::Local<v8::Value> exception) {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromClassicAborted() {}

// static
ScriptEvaluationResult ScriptEvaluationResult::FromModuleAborted() {}

v8::Local<v8::Value> ScriptEvaluationResult::GetSuccessValue() const {}

v8::Local<v8::Value> ScriptEvaluationResult::GetSuccessValueOrEmpty() const {}

v8::Local<v8::Value> ScriptEvaluationResult::GetExceptionForModule() const {}

v8::Local<v8::Value> ScriptEvaluationResult::GetExceptionForWorklet() const {}

v8::Local<v8::Value> ScriptEvaluationResult::GetExceptionForClassicForTesting()
    const {}

ScriptPromise<IDLAny> ScriptEvaluationResult::GetPromise(
    ScriptState* script_state) const {}

}  // namespace blink