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

Function forEachLeadingCommentRange

test/fixtures/snapshot/typescript.js:10736–10738  ·  view source on GitHub ↗
(text, pos, cb, state)

Source from the content-addressed store, hash-verified

10734 return accumulator;
10735 }
10736 function forEachLeadingCommentRange(text, pos, cb, state) {
10737 return iterateCommentRanges(/*reduce*/ false, text, pos, /*trailing*/ false, cb, state);
10738 }
10739 ts.forEachLeadingCommentRange = forEachLeadingCommentRange;
10740 function forEachTrailingCommentRange(text, pos, cb, state) {
10741 return iterateCommentRanges(/*reduce*/ false, text, pos, /*trailing*/ true, cb, state);

Callers

nothing calls this directly

Calls 1

iterateCommentRangesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…