v8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
v8::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
 

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

Member Enumeration Documentation

Enumerator
ONE_BYTE 
TWO_BYTE 
UTF8 

Constructor & Destructor Documentation

v8::ScriptCompiler::StreamedSource::StreamedSource ( ExternalSourceStream source_stream,
Encoding  encoding 
)
v8::ScriptCompiler::StreamedSource::~StreamedSource ( )

Member Function Documentation

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

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