Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
v8::ScriptCompiler::StreamedSource Class Reference

#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
 
StreamedSourceoperator= (const StreamedSource &)=delete
 
CompilationDetailscompilation_details ()
 

Detailed Description

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

Member Enumeration Documentation

◆ Encoding

Enumerator
ONE_BYTE 
TWO_BYTE 
UTF8 
WINDOWS_1252 

Constructor & Destructor Documentation

◆ StreamedSource() [1/2]

v8::ScriptCompiler::StreamedSource::StreamedSource ( std::unique_ptr< ExternalSourceStream source_stream,
Encoding  encoding 
)

◆ ~StreamedSource()

v8::ScriptCompiler::StreamedSource::~StreamedSource ( )

◆ StreamedSource() [2/2]

v8::ScriptCompiler::StreamedSource::StreamedSource ( const StreamedSource )
delete

Member Function Documentation

◆ compilation_details()

CompilationDetails & v8::ScriptCompiler::StreamedSource::compilation_details ( )
inline

◆ impl()

internal::ScriptStreamingData * v8::ScriptCompiler::StreamedSource::impl ( ) const
inline

◆ operator=()

StreamedSource & v8::ScriptCompiler::StreamedSource::operator= ( const StreamedSource )
delete

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