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

Function getTrailingCommentRanges

test/fixtures/snapshot/typescript.js:10763–10765  ·  view source on GitHub ↗
(text, pos)

Source from the content-addressed store, hash-verified

10761 }
10762 ts.getLeadingCommentRanges = getLeadingCommentRanges;
10763 function getTrailingCommentRanges(text, pos) {
10764 return reduceEachTrailingCommentRange(text, pos, appendCommentRange, /*state*/ undefined, /*initial*/ undefined);
10765 }
10766 ts.getTrailingCommentRanges = getTrailingCommentRanges;
10767 /** Optionally, get the shebang */
10768 function getShebang(text) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…