v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator Class Reference

#include <persistent-map.h>

Collaboration diagram for v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator:

Public Member Functions

const value_type operator* () const
 
iteratoroperator++ ()
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 
bool operator< (const iterator &other) const
 
bool is_end () const
 
const Valuedef_value ()
 

Static Public Member Functions

static iterator begin (const FocusedTree *tree, Value def_value)
 
static iterator end (Value def_value)
 

Private Member Functions

 iterator (Value def_value)
 

Private Attributes

int level_
 
FocusedTree::more_iterator more_iter_
 
const FocusedTreecurrent_
 
std::array< const FocusedTree *, kHashBitspath_
 
Value def_value_
 

Detailed Description

template<class Key, class Value, class Hasher = base::hash<Key>>
class v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator

Definition at line 248 of file persistent-map.h.

Constructor & Destructor Documentation

◆ iterator()

template<class Key , class Value , class Hasher = base::hash<Key>>
v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::iterator ( Value def_value)
inlineexplicitprivate

Definition at line 337 of file persistent-map.h.

Member Function Documentation

◆ begin()

template<class Key , class Value , class Hasher = base::hash<Key>>
static iterator v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::begin ( const FocusedTree * tree,
Value def_value )
inlinestatic

Definition at line 316 of file persistent-map.h.

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

◆ def_value()

template<class Key , class Value , class Hasher = base::hash<Key>>
const Value & v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::def_value ( )
inline

Definition at line 314 of file persistent-map.h.

◆ end()

template<class Key , class Value , class Hasher = base::hash<Key>>
static iterator v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::end ( Value def_value)
inlinestatic

Definition at line 328 of file persistent-map.h.

Here is the caller graph for this function:

◆ is_end()

template<class Key , class Value , class Hasher = base::hash<Key>>
bool v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::is_end ( ) const
inline

Definition at line 312 of file persistent-map.h.

◆ operator!=()

template<class Key , class Value , class Hasher = base::hash<Key>>
bool v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::operator!= ( const iterator & other) const
inline

Definition at line 300 of file persistent-map.h.

◆ operator*()

template<class Key , class Value , class Hasher = base::hash<Key>>
const value_type v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::operator* ( ) const
inline

Definition at line 250 of file persistent-map.h.

◆ operator++()

template<class Key , class Value , class Hasher = base::hash<Key>>
iterator & v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::operator++ ( )
inline

Definition at line 258 of file persistent-map.h.

Here is the call graph for this function:

◆ operator<()

template<class Key , class Value , class Hasher = base::hash<Key>>
bool v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::operator< ( const iterator & other) const
inline

Definition at line 302 of file persistent-map.h.

◆ operator==()

template<class Key , class Value , class Hasher = base::hash<Key>>
bool v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::operator== ( const iterator & other) const
inline

Definition at line 291 of file persistent-map.h.

Member Data Documentation

◆ current_

template<class Key , class Value , class Hasher = base::hash<Key>>
const FocusedTree* v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::current_
private

Definition at line 333 of file persistent-map.h.

◆ def_value_

template<class Key , class Value , class Hasher = base::hash<Key>>
Value v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::def_value_
private

Definition at line 335 of file persistent-map.h.

◆ level_

template<class Key , class Value , class Hasher = base::hash<Key>>
int v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::level_
private

Definition at line 331 of file persistent-map.h.

◆ more_iter_

template<class Key , class Value , class Hasher = base::hash<Key>>
FocusedTree::more_iterator v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::more_iter_
private

Definition at line 332 of file persistent-map.h.

◆ path_

template<class Key , class Value , class Hasher = base::hash<Key>>
std::array<const FocusedTree*, kHashBits> v8::internal::compiler::PersistentMap< Key, Value, Hasher >::iterator::path_
private

Definition at line 334 of file persistent-map.h.


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