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

Method Call

nan.h:1864–1878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1862 }
1863
1864 inline MaybeLocal<v8::Value>
1865 Call(v8::Local<v8::Object> target
1866 , int argc
1867 , v8::Local<v8::Value> argv[]
1868 , AsyncResource* resource) const {
1869#if NODE_MODULE_VERSION >= NODE_9_0_MODULE_VERSION
1870 v8::Isolate* isolate = v8::Isolate::GetCurrent();
1871 return Call_(isolate, target, argc, argv, resource);
1872#elif NODE_MODULE_VERSION > NODE_0_10_MODULE_VERSION
1873 v8::Isolate *isolate = v8::Isolate::GetCurrent();
1874 return Call_(isolate, target, argc, argv);
1875#else
1876 return Call_(target, argc, argv);
1877#endif
1878 }
1879
1880 inline MaybeLocal<v8::Value>
1881 Call(int argc, v8::Local<v8::Value> argv[], AsyncResource* resource) const {

Callers 15

operator()Method · 0.95
CallFunction · 0.80
CallFunction · 0.80
parseMethod · 0.80
stringifyMethod · 0.80
HandleOKCallbackMethod · 0.80
HandleErrorCallbackMethod · 0.80
NAN_METHODFunction · 0.80
AfterDelayFunction · 0.80

Calls 3

EscapeMethod · 0.80
CallFunction · 0.70
GlobalMethod · 0.45

Tested by

no test coverage detected