MCPcopy Create free account
hub / github.com/NativeScript/android / GetConstructorFunction

Method GetConstructorFunction

test-app/runtime/src/main/cpp/MetadataNode.cpp:1024–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024Local<Function> MetadataNode::GetConstructorFunction(Isolate* isolate) {
1025 GetConstructorFunctionTemplate(isolate, m_treeNode);
1026 auto ctorFunc = Local<Function>::New(isolate, *GetPersistentConstructorFunction(isolate));
1027
1028 return ctorFunc;
1029}
1030
1031Persistent<Function>* MetadataNode::GetPersistentConstructorFunction(Isolate* isolate) {
1032 auto itFound = m_poCtorCachePerIsolate.find(isolate);

Callers 2

CreateArrayWrapperMethod · 0.80
ExtendMethodCallbackMethod · 0.80

Calls 1

NewFunction · 0.85

Tested by

no test coverage detected