v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
ScriptCompiler::Source Class Reference

#include <v8-script.h>

Public Member Functions

V8_INLINE Source (Local< String > source_string, const ScriptOrigin &origin, CachedData *cached_data=nullptr, ConsumeCodeCacheTask *consume_cache_task=nullptr)
 
V8_INLINE Source (Local< String > source_string, CachedData *cached_data=nullptr, ConsumeCodeCacheTask *consume_cache_task=nullptr)
 
V8_INLINE Source (Local< String > source_string, const ScriptOrigin &origin, CompileHintCallback callback, void *callback_data)
 
V8_INLINE ~Source ()=default
 
V8_INLINE const CachedDataGetCachedData () const
 
V8_INLINE const ScriptOriginOptionsGetResourceOptions () const
 
V8_INLINE const CompilationDetailsGetCompilationDetails () const
 

Friends

class ScriptCompiler
 

Detailed Description

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

Definition at line 460 of file v8-script.h.

Constructor & Destructor Documentation

◆ Source() [1/3]

Source ( Local< String source_string,
const ScriptOrigin origin,
CachedData cached_data = nullptr,
ConsumeCodeCacheTask consume_cache_task = nullptr 
)

Definition at line 842 of file v8-script.h.

◆ Source() [2/3]

Source ( Local< String source_string,
CachedData cached_data = nullptr,
ConsumeCodeCacheTask consume_cache_task = nullptr 
)
explicit

Definition at line 855 of file v8-script.h.

◆ Source() [3/3]

Source ( Local< String source_string,
const ScriptOrigin origin,
CompileHintCallback  callback,
void *  callback_data 
)

Definition at line 861 of file v8-script.h.

◆ ~Source()

V8_INLINE ~Source ( )
default

Member Function Documentation

◆ GetCachedData()

const ScriptCompiler::CachedData * GetCachedData ( ) const

Definition at line 874 of file v8-script.h.

◆ GetCompilationDetails()

const ScriptCompiler::CompilationDetails & GetCompilationDetails ( ) const

Definition at line 884 of file v8-script.h.

◆ GetResourceOptions()

const ScriptOriginOptions & GetResourceOptions ( ) const

Definition at line 879 of file v8-script.h.

Friends And Related Symbol Documentation

◆ ScriptCompiler

friend class ScriptCompiler
friend

Definition at line 485 of file v8-script.h.


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