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

Function forEachTrailingCommentToEmit

test/fixtures/snapshot/typescript.js:114977–114982  ·  view source on GitHub ↗
(end, cb)

Source from the content-addressed store, hash-verified

114975 }
114976 }
114977 function forEachTrailingCommentToEmit(end, cb) {
114978 // Emit the trailing comments only if the container's end doesn't match because the container should take care of emitting these comments
114979 if (currentSourceFile && (containerEnd === -1 || (end !== containerEnd && end !== declarationListContainerEnd))) {
114980 ts.forEachTrailingCommentRange(currentSourceFile.text, end, cb);
114981 }
114982 }
114983 function hasDetachedComments(pos) {
114984 return detachedCommentsInfo !== undefined && ts.last(detachedCommentsInfo).nodePos === pos;
114985 }

Callers 2

emitTrailingCommentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…