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

Function writeLineSeparatorsAfter

test/fixtures/snapshot/typescript.js:114249–114254  ·  view source on GitHub ↗
(node, parent)

Source from the content-addressed store, hash-verified

114247 return !!leadingNewlines;
114248 }
114249 function writeLineSeparatorsAfter(node, parent) {
114250 var trailingNewlines = preserveSourceNewlines && getClosingLineTerminatorCount(parent, [node], 0 /* ListFormat.None */);
114251 if (trailingNewlines) {
114252 writeLine(trailingNewlines);
114253 }
114254 }
114255 function synthesizedNodeStartsOnNewLine(node, format) {
114256 if (ts.nodeIsSynthesized(node)) {
114257 var startsOnNewLine = ts.getStartsOnNewLine(node);

Callers 2

Calls 2

writeLineFunction · 0.70

Tested by

no test coverage detected