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

Function setWriter

test/fixtures/snapshot/typescript.js:110965–110972  ·  view source on GitHub ↗
(_writer, _sourceMapGenerator)

Source from the content-addressed store, hash-verified

110963 }
110964 }
110965 function setWriter(_writer, _sourceMapGenerator) {
110966 if (_writer && printerOptions.omitTrailingSemicolon) {
110967 _writer = ts.getTrailingSemicolonDeferringWriter(_writer);
110968 }
110969 writer = _writer; // TODO: GH#18217
110970 sourceMapGenerator = _sourceMapGenerator;
110971 sourceMapsDisabled = !writer || !sourceMapGenerator;
110972 }
110973 function reset() {
110974 nodeIdToGeneratedName = [];
110975 autoGeneratedIdToGeneratedName = [];

Callers 6

writeNodeFunction · 0.85
writeListFunction · 0.85
writeBundleFunction · 0.85
writeUnparsedSourceFunction · 0.85
writeFileFunction · 0.85
resetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…