5 #ifndef V8_DEBUG_DEBUG_PROPERTY_ITERATOR_H_ 6 #define V8_DEBUG_DEBUG_PROPERTY_ITERATOR_H_ 8 #include "src/debug/debug-interface.h" 9 #include "src/handles.h" 10 #include "src/isolate.h" 11 #include "src/prototype.h" 13 #include "include/v8.h" 25 bool Done()
const override;
26 void Advance()
override;
29 bool is_native_accessor()
override;
30 bool has_native_getter()
override;
31 bool has_native_setter()
override;
35 bool is_own()
override;
36 bool is_array_index()
override;
39 void FillKeysForCurrentPrototypeAndStage();
40 bool should_move_to_next_stage()
const;
41 void CalculateNativeAccessorFlags();
46 enum Stage { kExoticIndices = 0, kEnumerableStrings = 1, kAllProperties = 2 };
47 Stage stage_ = kExoticIndices;
53 bool calculated_native_accessor_flags_ =
false;
54 int native_accessor_flags_ = 0;
62 #endif // V8_DEBUG_DEBUG_PROPERTY_ITERATOR_H_