/third_party/node/src/ |
D | module_wrap.cc | 52 ModuleWrap::ModuleWrap(Environment* env, in ModuleWrap() function in node::loader::ModuleWrap 67 ModuleWrap::~ModuleWrap() { in ~ModuleWrap() 80 Local<Context> ModuleWrap::context() const { in context() 86 ModuleWrap* ModuleWrap::GetFromModule(Environment* env, in GetFromModule() 97 ModuleWrap* ModuleWrap::GetFromID(Environment* env, uint32_t id) { in GetFromID() 107 void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) { in New() 229 ModuleWrap* obj = new ModuleWrap(env, that, module, url); in New() 252 void ModuleWrap::Link(const FunctionCallbackInfo<Value>& args) { in Link() 261 ModuleWrap* obj; in Link() 308 void ModuleWrap::Instantiate(const FunctionCallbackInfo<Value>& args) { in Instantiate() [all …]
|
D | module_wrap.h | 33 class ModuleWrap : public BaseObject { 58 static ModuleWrap* GetFromID(node::Environment*, uint32_t id); 60 SET_MEMORY_INFO_NAME(ModuleWrap) 61 SET_SELF_SIZE(ModuleWrap) in SET_SELF_SIZE() argument 70 ModuleWrap(Environment* env, 74 ~ModuleWrap() override; 100 static ModuleWrap* GetFromModule(node::Environment*, v8::Local<v8::Module>);
|
D | env.h | 85 class ModuleWrap; variable 1014 std::unordered_multimap<int, loader::ModuleWrap*> hash_to_module_map; 1015 std::unordered_map<uint32_t, loader::ModuleWrap*> id_to_module_map;
|
/third_party/node/test/parallel/ |
D | test-internal-module-wrap.js | 7 const { ModuleWrap } = internalBinding('module_wrap'); 11 const foo = new ModuleWrap('foo', undefined, 'export * from "bar";', 0, 0); 12 const bar = new ModuleWrap('bar', undefined, 'export const five = 5', 0, 0);
|
/third_party/node/lib/internal/modules/esm/ |
D | translators.js | 57 const { ModuleWrap } = moduleWrap; 145 const module = new ModuleWrap(url, undefined, source, 0, 0); 190 return new ModuleWrap(url, undefined, namesWithDefault, function() { 306 return new ModuleWrap(url, undefined, ['default'], function() { 324 return new ModuleWrap(url, undefined, ['default'], function() { 346 return new ModuleWrap(url, undefined, ['default'], function() {
|
D | create_dynamic_module.js | 38 const { ModuleWrap, callbackMap } = internalBinding('module_wrap'); 39 const m = new ModuleWrap(`${url}`, undefined, source, 0, 0);
|
D | module_job.js | 24 const { ModuleWrap } = internalBinding('module_wrap'); 68 assert(this.module instanceof ModuleWrap);
|
D | loader.js | 158 const { ModuleWrap, callbackMap } = internalBinding('module_wrap'); 159 const module = new ModuleWrap(url, undefined, source, 0, 0);
|
/third_party/node/lib/internal/main/ |
D | check_syntax.js | 61 const { ModuleWrap } = internalBinding('module_wrap'); 62 new ModuleWrap(filename, undefined, source, 0, 0);
|
/third_party/node/lib/internal/bootstrap/ |
D | loaders.js | 240 const { ModuleWrap } = internalBinding('module_wrap'); 245 this.module = new ModuleWrap(
|
/third_party/node/lib/internal/vm/ |
D | module.js | 49 ModuleWrap, 122 this[kWrap] = new ModuleWrap(identifier, context, sourceText, 134 this[kWrap] = new ModuleWrap(identifier, context,
|
/third_party/node/test/message/ |
D | esm_loader_not_found_cjs_hint_bare.out | 13 at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:*:*)
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V11.md | 192 …odejs/node/commit/c824127756)] - **src**: delete unused field in class ModuleWrap (gengjiawen) [#2…
|
D | CHANGELOG_V14.md | 3141 …m/nodejs/node/commit/b12211eeca)] - **src**: prefer internal fields in ModuleWrap (Anna Henningsen…
|