| 11 | using namespace Nan; // NOLINT(build/namespaces) |
| 12 | |
| 13 | class MyObject : public node::ObjectWrap { |
| 14 | public: |
| 15 | static NAN_MODULE_INIT(Init); |
| 16 | |
| 17 | private: |
| 18 | explicit MyObject(v8::Local<v8::Object> resource); |
| 19 | ~MyObject(); |
| 20 | |
| 21 | AsyncResource async_resource; |
| 22 | |
| 23 | static NAN_METHOD(New); |
| 24 | static NAN_METHOD(CallEmit); |
| 25 | static Persistent<v8::Function> constructor; |
| 26 | }; |
| 27 | |
| 28 | Persistent<v8::Function> MyObject::constructor; |
| 29 |
nothing calls this directly
no outgoing calls
no test coverage detected