v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ZoneChunkListIterator< T, backwards, modifiable > Class Template Reference

#include <zone-chunk-list.h>

Inheritance diagram for v8::internal::ZoneChunkListIterator< T, backwards, modifiable >:
Collaboration diagram for v8::internal::ZoneChunkListIterator< T, backwards, modifiable >:

Public Member Functions

maybe_const< T > & operator* () const
 
maybe_const< T > * operator-> () const
 
bool operator== (const ZoneChunkListIterator &other) const
 
bool operator!= (const ZoneChunkListIterator &other) const
 
ZoneChunkListIteratoroperator++ ()
 
ZoneChunkListIterator operator++ (int)
 
ZoneChunkListIteratoroperator-- ()
 
ZoneChunkListIterator operator-- (int)
 
void Advance (uint32_t amount)
 

Private Types

template<typename S >
using maybe_const
 
using Chunk = maybe_const<typename ZoneChunkList<T>::Chunk>
 
using ChunkList = maybe_const<ZoneChunkList<T>>
 

Private Member Functions

 ZoneChunkListIterator (Chunk *current, uint32_t position)
 
template<bool move_backward>
void Move ()
 

Static Private Member Functions

static ZoneChunkListIterator Begin (ChunkList *list)
 
static ZoneChunkListIterator End (ChunkList *list)
 

Private Attributes

Chunkcurrent_
 
uint32_t position_
 

Friends

class ZoneChunkList< T >
 

Additional Inherited Members

- Public Types inherited from v8::base::iterator< std::bidirectional_iterator_tag, T >
using iterator_category
 
using value_type
 
using difference_type
 
using pointer
 
using reference
 

Detailed Description

template<typename T, bool backwards, bool modifiable>
class v8::internal::ZoneChunkListIterator< T, backwards, modifiable >

Definition at line 188 of file zone-chunk-list.h.

Member Typedef Documentation

◆ Chunk

template<typename T , bool backwards, bool modifiable>
using v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::Chunk = maybe_const<typename ZoneChunkList<T>::Chunk>
private

Definition at line 195 of file zone-chunk-list.h.

◆ ChunkList

template<typename T , bool backwards, bool modifiable>
using v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::ChunkList = maybe_const<ZoneChunkList<T>>
private

Definition at line 196 of file zone-chunk-list.h.

◆ maybe_const

template<typename T , bool backwards, bool modifiable>
template<typename S >
using v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::maybe_const
private
Initial value:
typename std::conditional<modifiable, S,
typename std::add_const<S>::type>::type
constexpr int S

Definition at line 192 of file zone-chunk-list.h.

Constructor & Destructor Documentation

◆ ZoneChunkListIterator()

template<typename T , bool backwards, bool modifiable>
v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::ZoneChunkListIterator ( Chunk * current,
uint32_t position )
inlineprivate

Definition at line 281 of file zone-chunk-list.h.

Here is the caller graph for this function:

Member Function Documentation

◆ Advance()

template<typename T , bool backwards, bool modifiable>
void v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::Advance ( uint32_t amount)
inline

Definition at line 230 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ Begin()

template<typename T , bool backwards, bool modifiable>
static ZoneChunkListIterator v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::Begin ( ChunkList * list)
inlinestaticprivate

Definition at line 257 of file zone-chunk-list.h.

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

◆ End()

template<typename T , bool backwards, bool modifiable>
static ZoneChunkListIterator v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::End ( ChunkList * list)
inlinestaticprivate

Definition at line 269 of file zone-chunk-list.h.

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

◆ Move()

template<typename T , bool backwards, bool modifiable>
template<bool move_backward>
void v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::Move ( )
inlineprivate

Definition at line 287 of file zone-chunk-list.h.

Here is the caller graph for this function:

◆ operator!=()

template<typename T , bool backwards, bool modifiable>
bool v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator!= ( const ZoneChunkListIterator< T, backwards, modifiable > & other) const
inline

Definition at line 204 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ operator*()

template<typename T , bool backwards, bool modifiable>
maybe_const< T > & v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator* ( ) const
inline

Definition at line 199 of file zone-chunk-list.h.

◆ operator++() [1/2]

template<typename T , bool backwards, bool modifiable>
ZoneChunkListIterator & v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator++ ( )
inline

Definition at line 208 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ operator++() [2/2]

template<typename T , bool backwards, bool modifiable>
ZoneChunkListIterator v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator++ ( int )
inline

Definition at line 213 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ operator--() [1/2]

template<typename T , bool backwards, bool modifiable>
ZoneChunkListIterator & v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator-- ( )
inline

Definition at line 219 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ operator--() [2/2]

template<typename T , bool backwards, bool modifiable>
ZoneChunkListIterator v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator-- ( int )
inline

Definition at line 224 of file zone-chunk-list.h.

Here is the call graph for this function:

◆ operator->()

template<typename T , bool backwards, bool modifiable>
maybe_const< T > * v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator-> ( ) const
inline

Definition at line 200 of file zone-chunk-list.h.

◆ operator==()

template<typename T , bool backwards, bool modifiable>
bool v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::operator== ( const ZoneChunkListIterator< T, backwards, modifiable > & other) const
inline

Definition at line 201 of file zone-chunk-list.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ ZoneChunkList< T >

template<typename T , bool backwards, bool modifiable>
friend class ZoneChunkList< T >
friend

Definition at line 230 of file zone-chunk-list.h.

Member Data Documentation

◆ current_

template<typename T , bool backwards, bool modifiable>
Chunk* v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::current_
private

Definition at line 306 of file zone-chunk-list.h.

◆ position_

template<typename T , bool backwards, bool modifiable>
uint32_t v8::internal::ZoneChunkListIterator< T, backwards, modifiable >::position_
private

Definition at line 307 of file zone-chunk-list.h.


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