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

Function emitWithTrailingSpace

test/fixtures/snapshot/typescript.js:113738–113743  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

113736 }
113737 }
113738 function emitWithTrailingSpace(node) {
113739 if (node) {
113740 emit(node);
113741 writeSpace();
113742 }
113743 }
113744 function emitEmbeddedStatement(parent, node) {
113745 if (ts.isBlock(node) || ts.getEmitFlags(parent) & 1 /* EmitFlags.SingleLine */) {
113746 writeSpace();

Callers 1

emitForOfStatementFunction · 0.85

Calls 2

writeSpaceFunction · 0.85
emitFunction · 0.70

Tested by

no test coverage detected