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

Function findNextStatementWithoutAwait

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

Source from the content-addressed store, hash-verified

31798 return -1;
31799 }
31800 function findNextStatementWithoutAwait(statements, start) {
31801 for (var i = start; i < statements.length; i++) {
31802 if (!containsPossibleTopLevelAwait(statements[i])) {
31803 return i;
31804 }
31805 }
31806 return -1;
31807 }
31808 function currentNode(position) {
31809 var node = baseSyntaxCursor.currentNode(position);
31810 if (topLevel && node && containsPossibleTopLevelAwait(node)) {

Callers 1

_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…