MCPcopy Create free account
hub / github.com/nodejs/nan / NAN_PROPERTY_ENUMERATOR

Function NAN_PROPERTY_ENUMERATOR

test/cpp/namedinterceptors.cpp:101–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101NAN_PROPERTY_ENUMERATOR(NamedInterceptor::PropertyEnumerator) {
102 v8::Local<v8::Array> arr = Nan::New<v8::Array>();
103 Set(arr, 0, Nan::New("value").ToLocalChecked());
104 info.GetReturnValue().Set(arr);
105}
106
107NAN_PROPERTY_DELETER(NamedInterceptor::PropertyDeleter) {
108 NamedInterceptor* interceptor =

Callers

nothing calls this directly

Calls 5

ToLocalCheckedMethod · 0.80
SetFunction · 0.50
NewFunction · 0.50
SetMethod · 0.45
GetReturnValueMethod · 0.45

Tested by

no test coverage detected