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

Function emitTrailingCommentsOfPosition

test/fixtures/snapshot/typescript.js:114933–114940  ·  view source on GitHub ↗
(pos, prefixSpace, forceNoNewline)

Source from the content-addressed store, hash-verified

114931 }
114932 }
114933 function emitTrailingCommentsOfPosition(pos, prefixSpace, forceNoNewline) {
114934 if (commentsDisabled) {
114935 return;
114936 }
114937 enterComment();
114938 forEachTrailingCommentToEmit(pos, prefixSpace ? emitTrailingComment : forceNoNewline ? emitTrailingCommentOfPositionNoNewline : emitTrailingCommentOfPosition);
114939 exitComment();
114940 }
114941 function emitTrailingCommentOfPositionNoNewline(commentPos, commentEnd, kind) {
114942 if (!currentSourceFile)
114943 return;

Callers 6

onOperatorFunction · 0.85
emitTokenWithCommentFunction · 0.85
emitAssertEntryFunction · 0.85
emitPropertyAssignmentFunction · 0.85
emitNodeListFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…