Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
v8::ScriptCompiler::Source Class Reference

#include <v8-script.h>

Public Member Functions

 Source (Local< String > source_string, const ScriptOrigin &origin, CachedData *cached_data=nullptr, ConsumeCodeCacheTask *consume_cache_task=nullptr)
 
 Source (Local< String > source_string, CachedData *cached_data=nullptr, ConsumeCodeCacheTask *consume_cache_task=nullptr)
 
 Source (Local< String > source_string, const ScriptOrigin &origin, CompileHintCallback callback, void *callback_data)
 
 ~Source ()=default
 
const CachedData * GetCachedData () const
 
const ScriptOriginOptions & GetResourceOptions () const
 
const CompilationDetails & GetCompilationDetails () const
 

Friends

class ScriptCompiler
 

Detailed Description

Source code which can be then compiled to a UnboundScript or Script.

Constructor & Destructor Documentation

◆ Source() [1/3]

v8::ScriptCompiler::Source::Source ( Local< String >  source_string,
const ScriptOrigin &  origin,
CachedData *  cached_data = nullptr,
ConsumeCodeCacheTask *  consume_cache_task = nullptr 
)
inline

◆ Source() [2/3]

v8::ScriptCompiler::Source::Source ( Local< String >  source_string,
CachedData *  cached_data = nullptr,
ConsumeCodeCacheTask *  consume_cache_task = nullptr 
)
inlineexplicit

◆ Source() [3/3]

v8::ScriptCompiler::Source::Source ( Local< String >  source_string,
const ScriptOrigin &  origin,
CompileHintCallback  callback,
void *  callback_data 
)
inline

◆ ~Source()

v8::ScriptCompiler::Source::~Source ( )
inlinedefault

Member Function Documentation

◆ GetCachedData()

const ScriptCompiler::CachedData * v8::ScriptCompiler::Source::GetCachedData ( ) const
inline

◆ GetCompilationDetails()

const ScriptCompiler::CompilationDetails & v8::ScriptCompiler::Source::GetCompilationDetails ( ) const
inline

◆ GetResourceOptions()

const ScriptOriginOptions & v8::ScriptCompiler::Source::GetResourceOptions ( ) const
inline

Friends And Related Function Documentation

◆ ScriptCompiler

friend class ScriptCompiler
friend

The documentation for this class was generated from the following file: