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

Function phaseEnumToPhaseName

lib/internal/vm/module.js:104–108  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

102}
103
104function phaseEnumToPhaseName(phase) {
105 const phaseName = PHASE_MAP[phase];
106 assert(phaseName !== undefined, `Invalid phase value: ${phase}`);
107 return phaseName;
108}
109
110class Module {
111 constructor(options) {

Callers 2

constructorMethod · 0.85

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…