v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::DebugPropertyIterator Class Referencefinal

#include <debug-property-iterator.h>

Inheritance diagram for v8::internal::DebugPropertyIterator:
Collaboration diagram for v8::internal::DebugPropertyIterator:

Public Member Functions

 ~DebugPropertyIterator () override=default
 
 DebugPropertyIterator (const DebugPropertyIterator &)=delete
 
DebugPropertyIteratoroperator= (const DebugPropertyIterator &)=delete
 
bool Done () const override
 
V8_WARN_UNUSED_RESULT Maybe< boolAdvance () override
 
v8::Local< v8::Namename () const override
 
bool is_native_accessor () override
 
bool has_native_getter () override
 
bool has_native_setter () override
 
v8::Maybe< v8::PropertyAttributeattributes () override
 
v8::Maybe< v8::debug::PropertyDescriptordescriptor () override
 
bool is_own () override
 
bool is_array_index () override
 
- Public Member Functions inherited from v8::debug::PropertyIterator
virtual ~PropertyIterator ()=default
 

Static Public Member Functions

static V8_WARN_UNUSED_RESULT std::unique_ptr< DebugPropertyIteratorCreate (Isolate *isolate, DirectHandle< JSReceiver > receiver, bool skip_indices)
 
- Static Public Member Functions inherited from v8::debug::PropertyIterator
static V8_WARN_UNUSED_RESULT std::unique_ptr< PropertyIteratorCreate (v8::Local< v8::Context > context, v8::Local< v8::Object > object, bool skip_indices=false)
 

Private Types

enum  { kExoticIndices = 0 , kEnumerableStrings = 1 , kAllProperties = 2 }
 

Private Member Functions

 DebugPropertyIterator (Isolate *isolate, DirectHandle< JSReceiver > receiver, bool skip_indices)
 
V8_WARN_UNUSED_RESULT bool FillKeysForCurrentPrototypeAndStage ()
 
bool should_move_to_next_stage () const
 
void CalculateNativeAccessorFlags ()
 
DirectHandle< Nameraw_name () const
 
void AdvanceToPrototype ()
 
V8_WARN_UNUSED_RESULT bool AdvanceInternal ()
 

Private Attributes

Isolateisolate_
 
PrototypeIterator prototype_iterator_
 
enum v8::internal::DebugPropertyIterator:: { ... }  stage_ = kExoticIndices
 
bool skip_indices_
 
size_t current_key_index_
 
Handle< FixedArraycurrent_keys_
 
size_t current_keys_length_
 
bool calculated_native_accessor_flags_ = false
 
int native_accessor_flags_ = 0
 
bool is_own_ = true
 
bool is_done_ = false
 

Detailed Description

Definition at line 24 of file debug-property-iterator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kExoticIndices 
kEnumerableStrings 
kAllProperties 

Definition at line 58 of file debug-property-iterator.h.

Constructor & Destructor Documentation

◆ ~DebugPropertyIterator()

v8::internal::DebugPropertyIterator::~DebugPropertyIterator ( )
overridedefault

◆ DebugPropertyIterator() [1/2]

v8::internal::DebugPropertyIterator::DebugPropertyIterator ( const DebugPropertyIterator & )
delete
Here is the caller graph for this function:

◆ DebugPropertyIterator() [2/2]

v8::internal::DebugPropertyIterator::DebugPropertyIterator ( Isolate * isolate,
DirectHandle< JSReceiver > receiver,
bool skip_indices )
private

Definition at line 35 of file debug-property-iterator.cc.

Member Function Documentation

◆ Advance()

Maybe< bool > v8::internal::DebugPropertyIterator::Advance ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 1463 of file debug-interface.cc.

Here is the call graph for this function:

◆ AdvanceInternal()

bool v8::internal::DebugPropertyIterator::AdvanceInternal ( )
private

Definition at line 56 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ AdvanceToPrototype()

void v8::internal::DebugPropertyIterator::AdvanceToPrototype ( )
private

Definition at line 48 of file debug-property-iterator.cc.

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

◆ attributes()

v8::Maybe< v8::PropertyAttribute > v8::internal::DebugPropertyIterator::attributes ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 107 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ CalculateNativeAccessorFlags()

void v8::internal::DebugPropertyIterator::CalculateNativeAccessorFlags ( )
private

Definition at line 245 of file debug-property-iterator.cc.

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

◆ Create()

std::unique_ptr< DebugPropertyIterator > v8::internal::DebugPropertyIterator::Create ( Isolate * isolate,
DirectHandle< JSReceiver > receiver,
bool skip_indices )
static

Definition at line 17 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ descriptor()

v8::Maybe< v8::debug::PropertyDescriptor > v8::internal::DebugPropertyIterator::descriptor ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 140 of file debug-property-iterator.cc.

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

◆ Done()

bool v8::internal::DebugPropertyIterator::Done ( ) const
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 46 of file debug-property-iterator.cc.

Here is the caller graph for this function:

◆ FillKeysForCurrentPrototypeAndStage()

bool v8::internal::DebugPropertyIterator::FillKeysForCurrentPrototypeAndStage ( )
private

Definition at line 182 of file debug-property-iterator.cc.

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

◆ has_native_getter()

bool v8::internal::DebugPropertyIterator::has_native_getter ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 81 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ has_native_setter()

bool v8::internal::DebugPropertyIterator::has_native_setter ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 87 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ is_array_index()

bool v8::internal::DebugPropertyIterator::is_array_index ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 176 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ is_native_accessor()

bool v8::internal::DebugPropertyIterator::is_native_accessor ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 76 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ is_own()

bool v8::internal::DebugPropertyIterator::is_own ( )
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 174 of file debug-property-iterator.cc.

◆ name()

v8::Local< v8::Name > v8::internal::DebugPropertyIterator::name ( ) const
overridevirtual

Implements v8::debug::PropertyIterator.

Definition at line 103 of file debug-property-iterator.cc.

Here is the call graph for this function:

◆ operator=()

DebugPropertyIterator & v8::internal::DebugPropertyIterator::operator= ( const DebugPropertyIterator & )
delete

◆ raw_name()

DirectHandle< Name > v8::internal::DebugPropertyIterator::raw_name ( ) const
private

Definition at line 93 of file debug-property-iterator.cc.

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

◆ should_move_to_next_stage()

bool v8::internal::DebugPropertyIterator::should_move_to_next_stage ( ) const
private

Definition at line 208 of file debug-property-iterator.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ calculated_native_accessor_flags_

bool v8::internal::DebugPropertyIterator::calculated_native_accessor_flags_ = false
private

Definition at line 69 of file debug-property-iterator.h.

◆ current_key_index_

size_t v8::internal::DebugPropertyIterator::current_key_index_
private

Definition at line 65 of file debug-property-iterator.h.

◆ current_keys_

Handle<FixedArray> v8::internal::DebugPropertyIterator::current_keys_
private

Definition at line 66 of file debug-property-iterator.h.

◆ current_keys_length_

size_t v8::internal::DebugPropertyIterator::current_keys_length_
private

Definition at line 67 of file debug-property-iterator.h.

◆ is_done_

bool v8::internal::DebugPropertyIterator::is_done_ = false
private

Definition at line 72 of file debug-property-iterator.h.

◆ is_own_

bool v8::internal::DebugPropertyIterator::is_own_ = true
private

Definition at line 71 of file debug-property-iterator.h.

◆ isolate_

Isolate* v8::internal::DebugPropertyIterator::isolate_
private

Definition at line 56 of file debug-property-iterator.h.

◆ native_accessor_flags_

int v8::internal::DebugPropertyIterator::native_accessor_flags_ = 0
private

Definition at line 70 of file debug-property-iterator.h.

◆ prototype_iterator_

PrototypeIterator v8::internal::DebugPropertyIterator::prototype_iterator_
private

Definition at line 57 of file debug-property-iterator.h.

◆ skip_indices_

bool v8::internal::DebugPropertyIterator::skip_indices_
private

Definition at line 63 of file debug-property-iterator.h.

◆ []

enum { ... } v8::internal::DebugPropertyIterator::stage_

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