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

Function evalFunction

lib/internal/process/execution.js:94–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 const evalFunction = () => runScriptInContext(name,
95 body,
96 breakFirstLine,
97 print,
98 module,
99 baseUrl,
100 undefined,
101 origModule);
102
103 if (shouldLoadESM) {
104 return require('internal/modules/run_main').runEntryPointWithESMLoader(evalFunction);

Callers 5

eval_string.jsFile · 0.85
worker_thread.jsFile · 0.85
eval_stdin.jsFile · 0.85
evalScriptFunction · 0.85
evalTypeScriptFunction · 0.85

Calls 1

runScriptInContextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…