V8 Project
|
Source code which can be streamed into V8 in pieces. More...
#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::StreamedSource * | impl () const |
Private Member Functions | |
StreamedSource (const StreamedSource &) | |
StreamedSource & | operator= (const StreamedSource &) |
Private Attributes | |
internal::StreamedSource * | impl_ |
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).
v8::ScriptCompiler::StreamedSource::StreamedSource | ( | ExternalSourceStream * | source_stream, |
Encoding | encoding | ||
) |
v8::ScriptCompiler::StreamedSource::~StreamedSource | ( | ) |
|
private |
const ScriptCompiler::CachedData * v8::ScriptCompiler::StreamedSource::GetCachedData | ( | ) | const |
Definition at line 1578 of file api.cc.
|
inline |
Definition at line 1139 of file v8.h.
Referenced by v8::ScriptCompiler::Compile(), and v8::ScriptCompiler::StartStreamingScript().
|
private |
|
private |