V8  latest master commit
V8 is Google's open source JavaScript engine
v8::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 CachedData * GetCachedData () const
 
const V8_INLINE ScriptOriginOptions & GetResourceOptions () const
 
 Source (const Source &)=delete
 
Source & operator= (const Source &)=delete
 

Friends

class ScriptCompiler
 

Detailed Description

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

Definition at line 1661 of file v8.h.

Constructor & Destructor Documentation

◆ Source() [1/3]

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

Definition at line 11254 of file v8.h.

◆ Source() [2/3]

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

Definition at line 11265 of file v8.h.

◆ ~Source()

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

Definition at line 11270 of file v8.h.

◆ Source() [3/3]

v8::ScriptCompiler::Source::Source ( const Source &  )
delete

Member Function Documentation

◆ GetCachedData()

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

Definition at line 11275 of file v8.h.

◆ GetResourceOptions()

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

Definition at line 11280 of file v8.h.

◆ operator=()

Source& v8::ScriptCompiler::Source::operator= ( const Source &  )
delete

Friends And Related Function Documentation

◆ ScriptCompiler

friend class ScriptCompiler
friend

Definition at line 1682 of file v8.h.


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