#include "third_party/blink/renderer/core/script/js_module_script.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/loader/modulescript/module_script_creation_params.h"
#include "third_party/blink/renderer/core/script/modulator.h"
#include "third_party/blink/renderer/core/script/module_record_resolver.h"
#include "third_party/blink/renderer/platform/bindings/parkable_string.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_throw_exception.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "v8/include/v8.h"
namespace blink {
JSModuleScript* JSModuleScript::Create(
const ModuleScriptCreationParams& original_params,
Modulator* modulator,
const ScriptFetchOptions& options,
const TextPosition& start_position) { … }
JSModuleScript* JSModuleScript::CreateForTest(
Modulator* modulator,
v8::Local<v8::Module> record,
const KURL& base_url,
const ScriptFetchOptions& options) { … }
JSModuleScript* JSModuleScript::CreateInternal(
size_t source_text_length,
Modulator* modulator,
v8::Local<v8::Module> result,
const KURL& source_url,
const KURL& base_url,
const ScriptFetchOptions& options,
const TextPosition& start_position,
ModuleRecordProduceCacheData* produce_cache_data) { … }
JSModuleScript::JSModuleScript(Modulator* settings_object,
v8::Local<v8::Module> record,
const KURL& source_url,
const KURL& base_url,
const ScriptFetchOptions& fetch_options,
size_t source_text_length,
const TextPosition& start_position,
ModuleRecordProduceCacheData* produce_cache_data)
: … { … }
void JSModuleScript::ProduceCache() { … }
void JSModuleScript::Trace(Visitor* visitor) const { … }
}