Home
last modified time | relevance | path

Searched refs:ModuleWrap (Results 1 – 14 of 14) sorted by relevance

/third_party/node/src/
Dmodule_wrap.cc52 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 …]
Dmodule_wrap.h33 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>);
Denv.h85 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/
Dtest-internal-module-wrap.js7 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/
Dtranslators.js57 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() {
Dcreate_dynamic_module.js38 const { ModuleWrap, callbackMap } = internalBinding('module_wrap');
39 const m = new ModuleWrap(`${url}`, undefined, source, 0, 0);
Dmodule_job.js24 const { ModuleWrap } = internalBinding('module_wrap');
68 assert(this.module instanceof ModuleWrap);
Dloader.js158 const { ModuleWrap, callbackMap } = internalBinding('module_wrap');
159 const module = new ModuleWrap(url, undefined, source, 0, 0);
/third_party/node/lib/internal/main/
Dcheck_syntax.js61 const { ModuleWrap } = internalBinding('module_wrap');
62 new ModuleWrap(filename, undefined, source, 0, 0);
/third_party/node/lib/internal/bootstrap/
Dloaders.js240 const { ModuleWrap } = internalBinding('module_wrap');
245 this.module = new ModuleWrap(
/third_party/node/lib/internal/vm/
Dmodule.js49 ModuleWrap,
122 this[kWrap] = new ModuleWrap(identifier, context, sourceText,
134 this[kWrap] = new ModuleWrap(identifier, context,
/third_party/node/test/message/
Desm_loader_not_found_cjs_hint_bare.out13 at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:*:*)
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md192 …odejs/node/commit/c824127756)] - **src**: delete unused field in class ModuleWrap (gengjiawen) [#2…
DCHANGELOG_V14.md3141 …m/nodejs/node/commit/b12211eeca)] - **src**: prefer internal fields in ModuleWrap (Anna Henningsen…