v8
7.9.317 (node 13.2.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Types | |
enum | Encoding { ONE_BYTE , TWO_BYTE , UTF8 } |
Public Member Functions | |
V8_DEPRECATE_SOON ("This class takes ownership of source_stream, so use the constructor " "taking a unique_ptr to make these semantics clearer") StreamedSource(ExternalSourceStream *source_stream | |
StreamedSource (std::unique_ptr< ExternalSourceStream > source_stream, Encoding encoding) | |
~StreamedSource () | |
internal::ScriptStreamingData * | impl () const |
StreamedSource (const StreamedSource &)=delete | |
StreamedSource & | operator= (const StreamedSource &)=delete |
Data Fields | |
Encoding | encoding |
Source code which can be streamed into V8 in pieces. It will be parsed while streaming and compiled after parsing has completed. StreamedSource must be kept alive while the streaming task is run (see ScriptStreamingTask below).
StreamedSource | ( | std::unique_ptr< ExternalSourceStream > | source_stream, |
Encoding | encoding | ||
) |
~StreamedSource | ( | ) |
|
delete |
|
delete |
V8_DEPRECATE_SOON | ( | "This class takes ownership of | source_stream, |
so use the constructor " "taking a unique_ptr to make these semantics clearer" | |||
) |