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

Function emitTrailingComments

test/fixtures/snapshot/typescript.js:114916–114918  ·  view source on GitHub ↗
(pos)

Source from the content-addressed store, hash-verified

114914 emitLeadingComments(pos, /*isEmittedNode*/ true);
114915 }
114916 function emitTrailingComments(pos) {
114917 forEachTrailingCommentToEmit(pos, emitTrailingComment);
114918 }
114919 function emitTrailingComment(commentPos, commentEnd, _kind, hasTrailingNewLine) {
114920 if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))
114921 return;

Callers 1

Calls 1

Tested by

no test coverage detected