#ifndef INCLUDE_V8_SCRIPT_H_
#define INCLUDE_V8_SCRIPT_H_
#include <stddef.h>
#include <stdint.h>
#include <memory>
#include <tuple>
#include <vector>
#include "v8-callbacks.h"
#include "v8-data.h"
#include "v8-local-handle.h"
#include "v8-maybe.h"
#include "v8-memory-span.h"
#include "v8-message.h"
#include "v8config.h"
namespace v8 {
class Function;
class Message;
class Object;
class PrimitiveArray;
class Script;
namespace internal {
class BackgroundDeserializeTask;
struct ScriptStreamingData;
}
class V8_EXPORT ScriptOrModule { … };
class V8_EXPORT UnboundScript : public Data { … };
class V8_EXPORT UnboundModuleScript : public Data { … };
class V8_EXPORT Location { … };
class V8_EXPORT ModuleRequest : public Data { … };
class V8_EXPORT Module : public Data { … };
class V8_EXPORT CompileHintsCollector : public Data { … };
class V8_EXPORT Script : public Data { … };
enum class ScriptType { … };
class V8_EXPORT ScriptCompiler { … };
ScriptCompiler::Source::Source(Local<String> string, const ScriptOrigin& origin,
CachedData* data,
ConsumeCodeCacheTask* consume_cache_task)
: … { … }
ScriptCompiler::Source::Source(Local<String> string, CachedData* data,
ConsumeCodeCacheTask* consume_cache_task)
: … { … }
ScriptCompiler::Source::Source(Local<String> string, const ScriptOrigin& origin,
CompileHintCallback callback,
void* callback_data)
: … { … }
const ScriptCompiler::CachedData* ScriptCompiler::Source::GetCachedData()
const { … }
const ScriptOriginOptions& ScriptCompiler::Source::GetResourceOptions() const { … }
const ScriptCompiler::CompilationDetails&
ScriptCompiler::Source::GetCompilationDetails() const { … }
ModuleRequest* ModuleRequest::Cast(Data* data) { … }
Module* Module::Cast(Data* data) { … }
}
#endif