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

Function reduceEachLeadingCommentRange

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

Source from the content-addressed store, hash-verified

10742 }
10743 ts.forEachTrailingCommentRange = forEachTrailingCommentRange;
10744 function reduceEachLeadingCommentRange(text, pos, cb, state, initial) {
10745 return iterateCommentRanges(/*reduce*/ true, text, pos, /*trailing*/ false, cb, state, initial);
10746 }
10747 ts.reduceEachLeadingCommentRange = reduceEachLeadingCommentRange;
10748 function reduceEachTrailingCommentRange(text, pos, cb, state, initial) {
10749 return iterateCommentRanges(/*reduce*/ true, text, pos, /*trailing*/ true, cb, state, initial);

Callers 1

getLeadingCommentRangesFunction · 0.85

Calls 1

iterateCommentRangesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…