MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / const_iterator

Method const_iterator

napi-inl.h:1904–1909  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1902
1903#ifdef NODE_ADDON_API_CPP_EXCEPTIONS
1904inline 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
1911inline Object::const_iterator Napi::Object::begin() const {
1912 const_iterator it(this, Object::const_iterator::Type::BEGIN);

Callers

nothing calls this directly

Calls 2

GetPropertyNamesMethod · 0.80
LengthMethod · 0.80

Tested by

no test coverage detected