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

Function forEachTrailingCommentRange

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

Source from the content-addressed store, hash-verified

10738 }
10739 ts.forEachLeadingCommentRange = forEachLeadingCommentRange;
10740 function forEachTrailingCommentRange(text, pos, cb, state) {
10741 return iterateCommentRanges(/*reduce*/ false, text, pos, /*trailing*/ true, cb, state);
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);

Callers

nothing calls this directly

Calls 1

iterateCommentRangesFunction · 0.85

Tested by

no test coverage detected