MCPcopy Create free account
hub / github.com/nodejs/node / emitTripleSlashLeadingComment

Function emitTripleSlashLeadingComment

test/fixtures/snapshot/typescript.js:114876–114880  ·  view source on GitHub ↗
(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos)

Source from the content-addressed store, hash-verified

114874 }
114875 }
114876 function emitTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {
114877 if (isTripleSlashComment(commentPos, commentEnd)) {
114878 emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);
114879 }
114880 }
114881 function emitNonTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {
114882 if (!isTripleSlashComment(commentPos, commentEnd)) {
114883 emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);

Callers

nothing calls this directly

Calls 2

isTripleSlashCommentFunction · 0.85
emitLeadingCommentFunction · 0.85

Tested by

no test coverage detected