v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
ScriptCompiler::Source Class Reference

#include <v8.h>

Public Member Functions

V8_INLINE Source (Local< String > source_string, const ScriptOrigin &origin, CachedData *cached_data=nullptr)
 
V8_INLINE Source (Local< String > source_string, CachedData *cached_data=nullptr)
 
V8_INLINE ~Source ()
 
const V8_INLINE CachedDataGetCachedData () const
 
const V8_INLINE ScriptOriginOptionsGetResourceOptions () const
 
 Source (const Source &)=delete
 
Sourceoperator= (const Source &)=delete
 

Friends

class ScriptCompiler
 

Detailed Description

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

Definition at line 1843 of file v8.h.

Constructor & Destructor Documentation

◆ Source() [1/3]

◆ Source() [2/3]

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

Definition at line 11690 of file v8.h.

◆ ~Source()

~Source ( )

Definition at line 11695 of file v8.h.

◆ Source() [3/3]

Source ( const Source )
delete

Member Function Documentation

◆ GetCachedData()

const ScriptCompiler::CachedData * GetCachedData ( ) const

Definition at line 11700 of file v8.h.

◆ GetResourceOptions()

const ScriptOriginOptions & GetResourceOptions ( ) const

Definition at line 11705 of file v8.h.

◆ operator=()

Source& operator= ( const Source )
delete

Friends And Related Function Documentation

◆ ScriptCompiler

friend class ScriptCompiler
friend

Definition at line 1864 of file v8.h.


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