![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#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 |
CompilationDetails & | compilation_details () |
Private Attributes | |
std::unique_ptr< internal::ScriptStreamingData > | impl_ |
CompilationDetails | compilation_details_ |
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 582 of file v8-script.h.
Enumerator | |
---|---|
ONE_BYTE | |
TWO_BYTE | |
UTF8 | |
WINDOWS_1252 |
Definition at line 584 of file v8-script.h.
v8::ScriptCompiler::StreamedSource::StreamedSource | ( | std::unique_ptr< ExternalSourceStream > | source_stream, |
Encoding | encoding ) |
|
default |
|
delete |
|
inline |
Definition at line 596 of file v8-script.h.
|
inline |
Definition at line 590 of file v8-script.h.
|
delete |
|
private |
Definition at line 603 of file v8-script.h.
|
private |
Definition at line 599 of file v8-script.h.