v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator Class Reference

#include <scope-info-inl.h>

Collaboration diagram for v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator:

Public Member Functions

 Iterator (const LocalNamesRange *range, InternalIndex index)
 
Iteratoroperator++ ()
 
Tagged< Stringname (PtrComprCageBase cage_base) const
 
Tagged< Stringname () const
 
const Iteratoroperator* () const
 
int index () const
 

Private Member Functions

ScopeInfoPtr scope_info () const
 
Tagged< NameToIndexHashTabletable () const
 
void advance_hashtable_index ()
 

Private Attributes

const LocalNamesRangerange_
 
InternalIndex index_
 

Friends

class LocalNamesRange
 
bool operator== (const Iterator &a, const Iterator &b)
 
bool operator!= (const Iterator &a, const Iterator &b)
 

Detailed Description

template<typename ScopeInfoPtr>
class v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator

Definition at line 51 of file scope-info-inl.h.

Constructor & Destructor Documentation

◆ Iterator()

template<typename ScopeInfoPtr >
v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::Iterator ( const LocalNamesRange * range,
InternalIndex index )
inline

Definition at line 53 of file scope-info-inl.h.

Here is the call graph for this function:

Member Function Documentation

◆ advance_hashtable_index()

template<typename ScopeInfoPtr >
void v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::advance_hashtable_index ( )
inlineprivate

Definition at line 106 of file scope-info-inl.h.

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

◆ index()

template<typename ScopeInfoPtr >
int v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::index ( ) const
inline

Definition at line 91 of file scope-info-inl.h.

Here is the call graph for this function:

◆ name() [1/2]

template<typename ScopeInfoPtr >
Tagged< String > v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::name ( ) const
inline

Definition at line 84 of file scope-info-inl.h.

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

◆ name() [2/2]

template<typename ScopeInfoPtr >
Tagged< String > v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::name ( PtrComprCageBase cage_base) const
inline

Definition at line 75 of file scope-info-inl.h.

Here is the call graph for this function:

◆ operator*()

template<typename ScopeInfoPtr >
const Iterator * v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::operator* ( ) const
inline

Definition at line 89 of file scope-info-inl.h.

◆ operator++()

template<typename ScopeInfoPtr >
Iterator & v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::operator++ ( )
inline

Definition at line 59 of file scope-info-inl.h.

Here is the call graph for this function:

◆ scope_info()

template<typename ScopeInfoPtr >
ScopeInfoPtr v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::scope_info ( ) const
inlineprivate

Definition at line 100 of file scope-info-inl.h.

Here is the caller graph for this function:

◆ table()

template<typename ScopeInfoPtr >
Tagged< NameToIndexHashTable > v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::table ( ) const
inlineprivate

Definition at line 102 of file scope-info-inl.h.

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

Friends And Related Symbol Documentation

◆ LocalNamesRange

template<typename ScopeInfoPtr >
friend class LocalNamesRange
friend

Definition at line 118 of file scope-info-inl.h.

◆ operator!=

template<typename ScopeInfoPtr >
bool operator!= ( const Iterator & a,
const Iterator & b )
friend

Definition at line 71 of file scope-info-inl.h.

◆ operator==

template<typename ScopeInfoPtr >
bool operator== ( const Iterator & a,
const Iterator & b )
friend

Definition at line 67 of file scope-info-inl.h.

Member Data Documentation

◆ index_

template<typename ScopeInfoPtr >
InternalIndex v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::index_
private

Definition at line 98 of file scope-info-inl.h.

◆ range_

template<typename ScopeInfoPtr >
const LocalNamesRange* v8::internal::ScopeInfo::LocalNamesRange< ScopeInfoPtr >::Iterator::range_
private

Definition at line 97 of file scope-info-inl.h.


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