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

Function writeNode

test/fixtures/snapshot/typescript.js:110807–110813  ·  view source on GitHub ↗
(hint, node, sourceFile, output)

Source from the content-addressed store, hash-verified

110805 return endPrint();
110806 }
110807 function writeNode(hint, node, sourceFile, output) {
110808 var previousWriter = writer;
110809 setWriter(output, /*_sourceMapGenerator*/ undefined);
110810 print(hint, node, sourceFile);
110811 reset();
110812 writer = previousWriter;
110813 }
110814 function writeList(format, nodes, sourceFile, output) {
110815 var previousWriter = writer;
110816 setWriter(output, /*_sourceMapGenerator*/ undefined);

Callers 1

printNodeFunction · 0.85

Calls 3

setWriterFunction · 0.85
printFunction · 0.70
resetFunction · 0.70

Tested by

no test coverage detected