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

Function getLeadingCommentRanges

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

Source from the content-addressed store, hash-verified

10757 return comments;
10758 }
10759 function getLeadingCommentRanges(text, pos) {
10760 return reduceEachLeadingCommentRange(text, pos, appendCommentRange, /*state*/ undefined, /*initial*/ undefined);
10761 }
10762 ts.getLeadingCommentRanges = getLeadingCommentRanges;
10763 function getTrailingCommentRanges(text, pos) {
10764 return reduceEachTrailingCommentRange(text, pos, appendCommentRange, /*state*/ undefined, /*initial*/ undefined);

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…