| 1211 | }; |
| 1212 | |
| 1213 | class Object::iterator { |
| 1214 | private: |
| 1215 | enum class Type { BEGIN, END }; |
| 1216 | |
| 1217 | inline iterator(Object* object, const Type type); |
| 1218 | |
| 1219 | public: |
| 1220 | inline iterator& operator++(); |
| 1221 | |
| 1222 | inline bool operator==(const iterator& other) const; |
| 1223 | |
| 1224 | inline bool operator!=(const iterator& other) const; |
| 1225 | |
| 1226 | inline std::pair<Value, Object::PropertyLValue<Value>> operator*(); |
| 1227 | |
| 1228 | private: |
| 1229 | Napi::Object* _object; |
| 1230 | Array _keys; |
| 1231 | uint32_t _index; |
| 1232 | |
| 1233 | friend class Object; |
| 1234 | }; |
| 1235 | #endif // NODE_ADDON_API_CPP_EXCEPTIONS |
| 1236 | |
| 1237 | #ifdef NODE_API_EXPERIMENTAL_HAS_SHAREDARRAYBUFFER |
nothing calls this directly
no outgoing calls
no test coverage detected