v8
7.0.276 (node 11.14.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Types | |
enum | Encoding { ONE_BYTE , TWO_BYTE , UTF8 } |
Public Member Functions | |
StreamedSource (ExternalSourceStream *source_stream, Encoding encoding) | |
~StreamedSource () | |
const CachedData * | GetCachedData () const |
internal::ScriptStreamingData * | impl () const |
StreamedSource (const StreamedSource &)=delete | |
StreamedSource & | operator= (const StreamedSource &)=delete |
Source code which can be streamed into V8 in pieces. It will be parsed while streaming. It can be compiled after the streaming is complete. StreamedSource must be kept alive while the streaming task is ran (see ScriptStreamingTask below).
StreamedSource | ( | ExternalSourceStream * | source_stream, |
Encoding | encoding | ||
) |
~StreamedSource | ( | ) |
|
delete |
const CachedData* GetCachedData | ( | ) | const |
|
delete |