![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#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 |
Private Attributes | |
Local< String > | source_string |
Local< Value > | resource_name |
int | resource_line_offset = -1 |
int | resource_column_offset = -1 |
ScriptOriginOptions | resource_options |
Local< Value > | source_map_url |
Local< Data > | host_defined_options |
std::unique_ptr< CachedData > | cached_data |
std::unique_ptr< ConsumeCodeCacheTask > | consume_cache_task |
CompileHintCallback | compile_hint_callback = nullptr |
void * | compile_hint_callback_data = nullptr |
CompilationDetails | compilation_details |
Friends | |
class | ScriptCompiler |
Source code which can be then compiled to a UnboundScript or Script.
Definition at line 492 of file v8-script.h.
v8::ScriptCompiler::Source::Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CachedData * | cached_data = nullptr, | ||
ConsumeCodeCacheTask * | consume_cache_task = nullptr ) |
Definition at line 890 of file v8-script.h.
|
explicit |
Definition at line 903 of file v8-script.h.
v8::ScriptCompiler::Source::Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CompileHintCallback | callback, | ||
void * | callback_data ) |
Definition at line 909 of file v8-script.h.
|
default |
const ScriptCompiler::CachedData * v8::ScriptCompiler::Source::GetCachedData | ( | ) | const |
Definition at line 922 of file v8-script.h.
const ScriptCompiler::CompilationDetails & v8::ScriptCompiler::Source::GetCompilationDetails | ( | ) | const |
Definition at line 932 of file v8-script.h.
const ScriptOriginOptions & v8::ScriptCompiler::Source::GetResourceOptions | ( | ) | const |
Definition at line 927 of file v8-script.h.
|
friend |
Definition at line 517 of file v8-script.h.
|
private |
Definition at line 532 of file v8-script.h.
|
private |
Definition at line 541 of file v8-script.h.
|
private |
Definition at line 536 of file v8-script.h.
|
private |
Definition at line 537 of file v8-script.h.
|
private |
Definition at line 533 of file v8-script.h.
Definition at line 527 of file v8-script.h.
|
private |
Definition at line 524 of file v8-script.h.
|
private |
Definition at line 523 of file v8-script.h.
Definition at line 522 of file v8-script.h.
|
private |
Definition at line 525 of file v8-script.h.
Definition at line 526 of file v8-script.h.
Definition at line 519 of file v8-script.h.