| 1902 | |
| 1903 | #ifdef NODE_ADDON_API_CPP_EXCEPTIONS |
| 1904 | inline Object::const_iterator::const_iterator(const Object* object, |
| 1905 | const Type type) { |
| 1906 | _object = object; |
| 1907 | _keys = object->GetPropertyNames(); |
| 1908 | _index = type == Type::BEGIN ? 0 : _keys.Length(); |
| 1909 | } |
| 1910 | |
| 1911 | inline Object::const_iterator Napi::Object::begin() const { |
| 1912 | const_iterator it(this, Object::const_iterator::Type::BEGIN); |
nothing calls this directly
no test coverage detected