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

#include <node-aux-data.h>

Collaboration diagram for v8::internal::compiler::NodeAuxData< T, def >::const_iterator:

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = int
 
using value_type = std::pair<size_t, T>
 
using pointer = value_type*
 
using reference = value_type&
 

Public Member Functions

 const_iterator (const ZoneVector< T > *data, size_t current)
 
 const_iterator (const const_iterator &other)
 
value_type operator* () const
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 

Private Attributes

const ZoneVector< T > * data_
 
size_t current_
 

Detailed Description

template<class T, T def = DefaultConstruct<T>>
class v8::internal::compiler::NodeAuxData< T, def >::const_iterator

Definition at line 68 of file node-aux-data.h.

Member Typedef Documentation

◆ difference_type

template<class T , T def = DefaultConstruct<T>>
using v8::internal::compiler::NodeAuxData< T, def >::const_iterator::difference_type = int

Definition at line 71 of file node-aux-data.h.

◆ iterator_category

template<class T , T def = DefaultConstruct<T>>
using v8::internal::compiler::NodeAuxData< T, def >::const_iterator::iterator_category = std::forward_iterator_tag

Definition at line 70 of file node-aux-data.h.

◆ pointer

template<class T , T def = DefaultConstruct<T>>
using v8::internal::compiler::NodeAuxData< T, def >::const_iterator::pointer = value_type*

Definition at line 73 of file node-aux-data.h.

◆ reference

template<class T , T def = DefaultConstruct<T>>
using v8::internal::compiler::NodeAuxData< T, def >::const_iterator::reference = value_type&

Definition at line 74 of file node-aux-data.h.

◆ value_type

template<class T , T def = DefaultConstruct<T>>
using v8::internal::compiler::NodeAuxData< T, def >::const_iterator::value_type = std::pair<size_t, T>

Definition at line 72 of file node-aux-data.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<class T , T def = DefaultConstruct<T>>
v8::internal::compiler::NodeAuxData< T, def >::const_iterator::const_iterator ( const ZoneVector< T > * data,
size_t current )
inline

Definition at line 76 of file node-aux-data.h.

◆ const_iterator() [2/2]

template<class T , T def = DefaultConstruct<T>>
v8::internal::compiler::NodeAuxData< T, def >::const_iterator::const_iterator ( const const_iterator & other)
inline

Definition at line 78 of file node-aux-data.h.

Member Function Documentation

◆ operator!=()

template<class T , T def = DefaultConstruct<T>>
bool v8::internal::compiler::NodeAuxData< T, def >::const_iterator::operator!= ( const const_iterator & other) const
inline

Definition at line 87 of file node-aux-data.h.

◆ operator*()

template<class T , T def = DefaultConstruct<T>>
value_type v8::internal::compiler::NodeAuxData< T, def >::const_iterator::operator* ( ) const
inline

Definition at line 81 of file node-aux-data.h.

◆ operator++() [1/2]

template<class T , T def = DefaultConstruct<T>>
const_iterator & v8::internal::compiler::NodeAuxData< T, def >::const_iterator::operator++ ( )
inline

Definition at line 90 of file node-aux-data.h.

◆ operator++() [2/2]

template<class T , T def = DefaultConstruct<T>>
const_iterator v8::internal::compiler::NodeAuxData< T, def >::const_iterator::operator++ ( int )

◆ operator==()

template<class T , T def = DefaultConstruct<T>>
bool v8::internal::compiler::NodeAuxData< T, def >::const_iterator::operator== ( const const_iterator & other) const
inline

Definition at line 84 of file node-aux-data.h.

Member Data Documentation

◆ current_

template<class T , T def = DefaultConstruct<T>>
size_t v8::internal::compiler::NodeAuxData< T, def >::const_iterator::current_
private

Definition at line 98 of file node-aux-data.h.

◆ data_

template<class T , T def = DefaultConstruct<T>>
const ZoneVector<T>* v8::internal::compiler::NodeAuxData< T, def >::const_iterator::data_
private

Definition at line 97 of file node-aux-data.h.


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