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

Function getParseFactory

benchmark/validators/parse-file-mode.js:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14});
15
16function getParseFactory() {
17 const {
18 parseFileMode,
19 } = require('internal/validators');
20
21 return (n) => parseFileMode(n, 'n');
22}
23
24function main({ n, value }) {
25 const parse = getParseFactory();

Callers 1

mainFunction · 0.85

Calls 2

parseFileModeFunction · 0.85
requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…