![]() |
v8 13.6.233 (node 24.1.0)
V8 is Google's open source JavaScript engine
|
#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 CachedData * | GetCachedData () const |
V8_INLINE const ScriptOriginOptions & | GetResourceOptions () const |
V8_INLINE const CompilationDetails & | GetCompilationDetails () const |
Friends | |
class | ScriptCompiler |
Source code which can be then compiled to a UnboundScript or Script.
Definition at line 492 of file v8-script.h.
Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CachedData * | cached_data = nullptr, | ||
ConsumeCodeCacheTask * | consume_cache_task = nullptr ) |
|
explicit |
Definition at line 903 of file v8-script.h.
Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CompileHintCallback | callback, | ||
void * | callback_data ) |
Definition at line 909 of file v8-script.h.
References GetCachedData(), GetCompilationDetails(), GetResourceOptions(), and V8_INLINE.
const ScriptCompiler::CachedData * GetCachedData | ( | ) | const |
Definition at line 922 of file v8-script.h.
Referenced by ~Source().
const ScriptCompiler::CompilationDetails & GetCompilationDetails | ( | ) | const |
Definition at line 932 of file v8-script.h.
Referenced by ~Source().
const ScriptOriginOptions & GetResourceOptions | ( | ) | const |
Definition at line 927 of file v8-script.h.
Referenced by ~Source().
|
friend |
Definition at line 517 of file v8-script.h.
References ScriptCompiler.
Referenced by ScriptCompiler.