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

Function emitNodeWithWriter

test/fixtures/snapshot/typescript.js:113691–113698  ·  view source on GitHub ↗
(node, writer)

Source from the content-addressed store, hash-verified

113689 // Helpers
113690 //
113691 function emitNodeWithWriter(node, writer) {
113692 if (!node)
113693 return;
113694 var savedWrite = write;
113695 write = writer;
113696 emit(node);
113697 write = savedWrite;
113698 }
113699 function emitModifiers(node, modifiers) {
113700 if (modifiers && modifiers.length) {
113701 emitList(node, modifiers, 262656 /* ListFormat.Modifiers */);

Callers 2

emitParameterFunction · 0.85
emitPropertySignatureFunction · 0.85

Calls 1

emitFunction · 0.70

Tested by

no test coverage detected