v8  5.8.282(node8.0.0)
V8 is Google's open source JavaScript engine
ScriptCompiler::StreamedSource Class Reference

#include <v8.h>

Public Types

enum  Encoding { ONE_BYTE, TWO_BYTE, UTF8 }
 

Public Member Functions

 StreamedSource (ExternalSourceStream *source_stream, Encoding encoding)
 
 ~StreamedSource ()
 
const CachedDataGetCachedData () const
 
internal::StreamedSource * impl () const
 
 StreamedSource (const StreamedSource &)=delete
 
StreamedSourceoperator= (const StreamedSource &)=delete
 

Detailed Description

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).

Definition at line 1274 of file v8.h.

Member Enumeration Documentation

enum Encoding
Enumerator
ONE_BYTE 
TWO_BYTE 
UTF8 

Definition at line 1276 of file v8.h.

Constructor & Destructor Documentation

StreamedSource ( ExternalSourceStream source_stream,
Encoding  encoding 
)
StreamedSource ( const StreamedSource )
delete

Member Function Documentation

const CachedData* GetCachedData ( ) const
internal::StreamedSource* impl ( ) const
inline

Definition at line 1286 of file v8.h.

StreamedSource& operator= ( const StreamedSource )
delete

The documentation for this class was generated from the following file: