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

Function shouldConvertIterationStatement

test/fixtures/snapshot/typescript.js:100387–100390  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

100385 return ts.isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);
100386 }
100387 function shouldConvertIterationStatement(node) {
100388 return shouldConvertBodyOfIterationStatement(node)
100389 || shouldConvertInitializerOfForStatement(node);
100390 }
100391 function shouldConvertBodyOfIterationStatement(node) {
100392 return (resolver.getNodeCheckFlags(node) & 65536 /* NodeCheckFlags.LoopWithCapturedBlockScopedBinding */) !== 0;
100393 }

Callers 2

shouldVisitNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…