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

Public Types

using NodeType = typename BlockType::NodeType
 
using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = NodeType*
 
using reference = value_type
 
using pointer = value_type*
 

Public Member Functions

 NodeIterator (BlockType *block) V8_NOEXCEPT
 
 NodeIterator (NodeIterator &&other) V8_NOEXCEPT
 
 NodeIterator (const NodeIterator &)=delete
 
NodeIteratoroperator= (const NodeIterator &)=delete
 
bool operator== (const NodeIterator &other) const
 
bool operator!= (const NodeIterator &other) const
 
NodeIteratoroperator++ ()
 
NodeTypeoperator* ()
 
NodeTypeoperator-> ()
 

Private Attributes

BlockType * block_ = nullptr
 
size_t index_ = 0
 

Detailed Description

template<class BlockType>
class v8::internal::GlobalHandles::NodeIterator< BlockType >

Definition at line 139 of file global-handles.h.

Member Typedef Documentation

◆ difference_type

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::difference_type = std::ptrdiff_t

Definition at line 162 of file global-handles.cc.

◆ iterator_category

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::iterator_category = std::forward_iterator_tag

Definition at line 161 of file global-handles.cc.

◆ NodeType

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::NodeType = typename BlockType::NodeType

Definition at line 158 of file global-handles.cc.

◆ pointer

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::pointer = value_type*

Definition at line 165 of file global-handles.cc.

◆ reference

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::reference = value_type

Definition at line 164 of file global-handles.cc.

◆ value_type

template<class BlockType >
using v8::internal::GlobalHandles::NodeIterator< BlockType >::value_type = NodeType*

Definition at line 163 of file global-handles.cc.

Constructor & Destructor Documentation

◆ NodeIterator() [1/3]

template<class BlockType >
v8::internal::GlobalHandles::NodeIterator< BlockType >::NodeIterator ( BlockType * block)
inlineexplicit

Definition at line 167 of file global-handles.cc.

◆ NodeIterator() [2/3]

template<class BlockType >
v8::internal::GlobalHandles::NodeIterator< BlockType >::NodeIterator ( NodeIterator< BlockType > && other)
inline

Definition at line 168 of file global-handles.cc.

◆ NodeIterator() [3/3]

template<class BlockType >
v8::internal::GlobalHandles::NodeIterator< BlockType >::NodeIterator ( const NodeIterator< BlockType > & )
delete

Member Function Documentation

◆ operator!=()

template<class BlockType >
bool v8::internal::GlobalHandles::NodeIterator< BlockType >::operator!= ( const NodeIterator< BlockType > & other) const
inline

Definition at line 177 of file global-handles.cc.

◆ operator*()

template<class BlockType >
NodeType * v8::internal::GlobalHandles::NodeIterator< BlockType >::operator* ( )
inline

Definition at line 188 of file global-handles.cc.

◆ operator++()

template<class BlockType >
NodeIterator & v8::internal::GlobalHandles::NodeIterator< BlockType >::operator++ ( )
inline

Definition at line 181 of file global-handles.cc.

◆ operator->()

template<class BlockType >
NodeType * v8::internal::GlobalHandles::NodeIterator< BlockType >::operator-> ( )
inline

Definition at line 189 of file global-handles.cc.

◆ operator=()

template<class BlockType >
NodeIterator & v8::internal::GlobalHandles::NodeIterator< BlockType >::operator= ( const NodeIterator< BlockType > & )
delete

◆ operator==()

template<class BlockType >
bool v8::internal::GlobalHandles::NodeIterator< BlockType >::operator== ( const NodeIterator< BlockType > & other) const
inline

Definition at line 174 of file global-handles.cc.

Member Data Documentation

◆ block_

template<class BlockType >
BlockType* v8::internal::GlobalHandles::NodeIterator< BlockType >::block_ = nullptr
private

Definition at line 192 of file global-handles.cc.

◆ index_

template<class BlockType >
size_t v8::internal::GlobalHandles::NodeIterator< BlockType >::index_ = 0
private

Definition at line 193 of file global-handles.cc.


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