v8
10.1.124 (node 18.2.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 ()=default |
V8_INLINE const CachedData * | GetCachedData () const |
V8_INLINE const ScriptOriginOptions & | GetResourceOptions () const |
Friends | |
class | ScriptCompiler |
Source code which can be then compiled to a UnboundScript or Script.
Definition at line 376 of file v8-script.h.
Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CachedData * | cached_data = nullptr , |
||
ConsumeCodeCacheTask * | consume_cache_task = nullptr |
||
) |
Definition at line 704 of file v8-script.h.
References ScriptOrigin::ColumnOffset(), ScriptOrigin::GetHostDefinedOptions(), ScriptOrigin::LineOffset(), ScriptOrigin::Options(), ScriptOrigin::ResourceName(), and ScriptOrigin::SourceMapUrl().
|
explicit |
Definition at line 717 of file v8-script.h.
const ScriptCompiler::CachedData * GetCachedData | ( | ) | const |
Definition at line 723 of file v8-script.h.
const ScriptOriginOptions & GetResourceOptions | ( | ) | const |
Definition at line 728 of file v8-script.h.
|
friend |
Definition at line 397 of file v8-script.h.