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

Function findNextStatementWithAwait

test/fixtures/snapshot/typescript.js:31792–31799  ·  view source on GitHub ↗
(statements, start)

Source from the content-addressed store, hash-verified

31790 && !!(node.transformFlags & 16777216 /* TransformFlags.ContainsPossibleTopLevelAwait */);
31791 }
31792 function findNextStatementWithAwait(statements, start) {
31793 for (var i = start; i < statements.length; i++) {
31794 if (containsPossibleTopLevelAwait(statements[i])) {
31795 return i;
31796 }
31797 }
31798 return -1;
31799 }
31800 function findNextStatementWithoutAwait(statements, start) {
31801 for (var i = start; i < statements.length; i++) {
31802 if (!containsPossibleTopLevelAwait(statements[i])) {

Callers 2

reparseTopLevelAwaitFunction · 0.85
_loop_3Function · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…