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
74 ModuleWrap::~ModuleWrap() { in ~ModuleWrap()
85 Local<Context> ModuleWrap::context() const { in context()
93 ModuleWrap* ModuleWrap::GetFromModule(Environment* env, in GetFromModule()
106 void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) { in New()
241 ModuleWrap* obj = new ModuleWrap( in New()
271 void ModuleWrap::Link(const FunctionCallbackInfo<Value>& args) { in Link()
280 ModuleWrap* obj; in Link()
335 void ModuleWrap::Instantiate(const FunctionCallbackInfo<Value>& args) { in Instantiate()
338 ModuleWrap* obj; in Instantiate()
[all …]
Dmodule_wrap.h33 class ModuleWrap : public BaseObject {
59 SET_MEMORY_INFO_NAME(ModuleWrap)
60 SET_SELF_SIZE(ModuleWrap) in SET_SELF_SIZE() argument
69 ModuleWrap(Environment* env,
75 ~ModuleWrap() override;
102 static ModuleWrap* GetFromModule(node::Environment*, v8::Local<v8::Module>);
Denv.h95 class ModuleWrap; variable
700 std::unordered_multimap<int, loader::ModuleWrap*> hash_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.js54 const { ModuleWrap } = moduleWrap;
152 const module = new ModuleWrap(url, undefined, source, 0, 0);
194 return new ModuleWrap(url, undefined, namesWithDefault, function() {
324 return new ModuleWrap(url, undefined, ['default'], function() {
337 return new ModuleWrap(url, undefined, ['default'], function() {
359 return new ModuleWrap(url, undefined, ['default'], function() {
Dcreate_dynamic_module.js59 const { ModuleWrap } = internalBinding('module_wrap');
60 const m = new ModuleWrap(`${url}`, undefined, source, 0, 0);
Dmodule_job.js22 const { ModuleWrap } = internalBinding('module_wrap');
68 assert(this.module instanceof ModuleWrap);
Dloader.js212 const { ModuleWrap } = internalBinding('module_wrap');
214 const module = new ModuleWrap(url, undefined, source, 0, 0);
/third_party/node/lib/internal/main/
Dcheck_syntax.js77 const { ModuleWrap } = internalBinding('module_wrap');
78 new ModuleWrap(filename, undefined, source, 0, 0);
/third_party/node/lib/internal/bootstrap/
Drealm.js340 const { ModuleWrap } = internalBinding('module_wrap');
342 ObjectSetPrototypeOf(ModuleWrap.prototype, null);
347 this.module = new ModuleWrap(
/third_party/node/lib/internal/vm/
Dmodule.js52 ModuleWrap,
124 this[kWrap] = new ModuleWrap(identifier, context, sourceText,
136 this[kWrap] = new ModuleWrap(identifier, context,
/third_party/node/doc/changelogs/
DCHANGELOG_V11.md196 …odejs/node/commit/c824127756)] - **src**: delete unused field in class ModuleWrap (gengjiawen) [#2…
DCHANGELOG_V18.md241 * \[[`2c2892bf88`](https://github.com/nodejs/node/commit/2c2892bf88)] - **src**: set ModuleWrap int…
DCHANGELOG_V14.md3064 …m/nodejs/node/commit/b12211eeca)] - **src**: prefer internal fields in ModuleWrap (Anna Henningsen…