5 #ifndef INCLUDE_V8_SCRIPT_H_
6 #define INCLUDE_V8_SCRIPT_H_
28 class BackgroundDeserializeTask;
29 struct ScriptStreamingData;
102 : line_number_(line_number), column_number_(column_number) {}
141 static void CheckCast(
Data* obj);
203 Local<
Context> context, ResolveModuleCallback callback);
264 using SyntheticModuleEvaluationSteps =
277 SyntheticModuleEvaluationSteps evaluation_steps);
292 static void CheckCast(
Data* obj);
336 class ConsumeCodeCacheTask;
382 ConsumeCodeCacheTask* consume_cache_task =
nullptr);
386 ConsumeCodeCacheTask* consume_cache_task =
nullptr);
403 int resource_line_offset;
404 int resource_column_offset;
413 std::unique_ptr<ConsumeCodeCacheTask> consume_cache_task;
469 std::unique_ptr<
internal::ScriptStreamingData> impl_;
483 explicit ScriptStreamingTask(
internal::ScriptStreamingData* data)
486 internal::ScriptStreamingData* data_;
503 explicit ConsumeCodeCacheTask(
504 std::unique_ptr<
internal::BackgroundDeserializeTask> impl);
506 std::unique_ptr<
internal::BackgroundDeserializeTask> impl_;
656 Local<
String> arguments[], size_t context_extension_count,
663 Local<
String> arguments[] =
nullptr, size_t context_extension_count = 0,
698 Local<
String> arguments[], size_t context_extension_count,
706 ConsumeCodeCacheTask* consume_cache_task)
707 : source_string(string),
715 consume_cache_task(consume_cache_task) {}
718 ConsumeCodeCacheTask* consume_cache_task)
719 : source_string(string),
721 consume_cache_task(consume_cache_task) {}
725 return cached_data.get();
729 return resource_options;
733 #ifdef V8_ENABLE_CHECKS
740 #ifdef V8_ENABLE_CHECKS
743 return reinterpret_cast<
Module*>(data);