v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <v8.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.
Source | ( | Local< String > | source_string, |
const ScriptOrigin & | origin, | ||
CachedData * | cached_data = nullptr , |
||
ConsumeCodeCacheTask * | consume_cache_task = nullptr |
||
) |
Definition at line 11553 of file v8.h.
References ScriptOrigin::ColumnOffset(), ScriptOrigin::HostDefinedOptions(), ScriptOrigin::LineOffset(), ScriptOrigin::Options(), ScriptOrigin::ResourceName(), and ScriptOrigin::SourceMapUrl().
|
explicit |
const ScriptCompiler::CachedData * GetCachedData | ( | ) | const |
const ScriptOriginOptions & GetResourceOptions | ( | ) | const |
|
friend |