v8 10.2.154 (node 18.16.0)
V8 is Google's open source JavaScript engine
|
#include <v8-script.h>
Public Types | |
enum | Encoding { ONE_BYTE , TWO_BYTE , UTF8 , WINDOWS_1252 } |
Public Member Functions | |
StreamedSource (std::unique_ptr< ExternalSourceStream > source_stream, Encoding encoding) | |
~StreamedSource () | |
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 and compiled after parsing has completed. StreamedSource must be kept alive while the streaming task is run (see ScriptStreamingTask below).
Definition at line 454 of file v8-script.h.
enum Encoding |
Enumerator | |
---|---|
ONE_BYTE | |
TWO_BYTE | |
UTF8 | |
WINDOWS_1252 |
Definition at line 456 of file v8-script.h.
StreamedSource | ( | std::unique_ptr< ExternalSourceStream > | source_stream, |
Encoding | encoding | ||
) |
~StreamedSource | ( | ) |
|
delete |
|
inline |
Definition at line 462 of file v8-script.h.
|
delete |