v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ChunkedStream< Char > Class Template Reference
Collaboration diagram for v8::internal::ChunkedStream< Char >:

Classes

struct  Chunk
 

Public Member Functions

 ChunkedStream (ScriptCompiler::ExternalSourceStream *source)
 
 ChunkedStream (const ChunkedStream &other) V8_NOEXCEPT
 
Range< Char > GetDataAt (size_t pos, RuntimeCallStats *stats, DisallowGarbageCollection *no_gc=nullptr)
 

Static Public Attributes

static const bool kCanBeCloned = true
 
static const bool kCanAccessHeap = false
 

Protected Attributes

std::shared_ptr< std::vector< struct Chunk > > chunks_
 

Private Member Functions

ChunkFindChunk (size_t position, RuntimeCallStats *stats)
 
virtual void ProcessChunk (const uint8_t *data, size_t position, size_t length)
 
void FetchChunk (size_t position, RuntimeCallStats *stats)
 

Private Attributes

ScriptCompiler::ExternalSourceStreamsource_
 

Detailed Description

template<typename Char>
class v8::internal::ChunkedStream< Char >

Definition at line 153 of file scanner-character-streams.cc.

Constructor & Destructor Documentation

◆ ChunkedStream() [1/2]

template<typename Char >
v8::internal::ChunkedStream< Char >::ChunkedStream ( ScriptCompiler::ExternalSourceStream * source)
inlineexplicit

Definition at line 155 of file scanner-character-streams.cc.

◆ ChunkedStream() [2/2]

template<typename Char >
v8::internal::ChunkedStream< Char >::ChunkedStream ( const ChunkedStream< Char > & other)
inline

Definition at line 158 of file scanner-character-streams.cc.

Member Function Documentation

◆ FetchChunk()

template<typename Char >
void v8::internal::ChunkedStream< Char >::FetchChunk ( size_t position,
RuntimeCallStats * stats )
inlineprivate

Definition at line 212 of file scanner-character-streams.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FindChunk()

template<typename Char >
Chunk & v8::internal::ChunkedStream< Char >::FindChunk ( size_t position,
RuntimeCallStats * stats )
inlineprivate

Definition at line 186 of file scanner-character-streams.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDataAt()

template<typename Char >
Range< Char > v8::internal::ChunkedStream< Char >::GetDataAt ( size_t pos,
RuntimeCallStats * stats,
DisallowGarbageCollection * no_gc = nullptr )
inline

Definition at line 164 of file scanner-character-streams.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessChunk()

template<typename Char >
virtual void v8::internal::ChunkedStream< Char >::ProcessChunk ( const uint8_t * data,
size_t position,
size_t length )
inlineprivatevirtual

Definition at line 204 of file scanner-character-streams.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ chunks_

template<typename Char >
std::shared_ptr<std::vector<struct Chunk> > v8::internal::ChunkedStream< Char >::chunks_
protected

Definition at line 229 of file scanner-character-streams.cc.

◆ kCanAccessHeap

template<typename Char >
const bool v8::internal::ChunkedStream< Char >::kCanAccessHeap = false
static

Definition at line 173 of file scanner-character-streams.cc.

◆ kCanBeCloned

template<typename Char >
const bool v8::internal::ChunkedStream< Char >::kCanBeCloned = true
static

Definition at line 172 of file scanner-character-streams.cc.

◆ source_

template<typename Char >
ScriptCompiler::ExternalSourceStream* v8::internal::ChunkedStream< Char >::source_
private

Definition at line 226 of file scanner-character-streams.cc.


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