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

Method instantiate

lib/internal/vm/module.js:402–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

400 }
401
402 instantiate() {
403 validateThisInternalField(this, kWrap, 'SourceTextModule');
404 if (this.status !== 'unlinked') {
405 throw new ERR_VM_MODULE_STATUS('must be unlinked');
406 }
407 this[kWrap].instantiate();
408 }
409
410 get dependencySpecifiers() {
411 this.#dependencySpecifiers ??= ObjectFreeze(

Callers 11

mainFunction · 0.95
getProxyFunction · 0.95
#asyncInstantiateMethod · 0.45
runSyncMethod · 0.45
runSyncMethod · 0.45
compileSourceTextModuleFunction · 0.45
getESMFacadeMethod · 0.45
linkMethod · 0.45
constructorMethod · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected