MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

lib/internal/modules/esm/module_job.js:132–141  ·  view source on GitHub ↗
(loader, url, importAttributes, phase, isMain, inspectBrk)

Source from the content-addressed store, hash-verified

130
131class ModuleJobBase {
132 constructor(loader, url, importAttributes, phase, isMain, inspectBrk) {
133 assert(typeof phase === 'number');
134 this.loader = loader;
135 this.importAttributes = importAttributes;
136 this.phase = phase;
137 this.isMain = isMain;
138 this.inspectBrk = inspectBrk;
139
140 this.url = url;
141 }
142
143 /**
144 * Synchronously link the module and its dependencies.

Callers

nothing calls this directly

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected