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

Function writeComment

test/fixtures/snapshot/typescript.js:18241–18245  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

18239 writeText(s);
18240 }
18241 function writeComment(s) {
18242 if (s)
18243 hasTrailingComment = true;
18244 writeText(s);
18245 }
18246 function reset() {
18247 output = "";
18248 indent = 0;

Callers 3

emitCommentsFunction · 0.85
emitShebangIfNeededFunction · 0.85

Calls 1

writeTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…