MCPcopy Create free account
hub / github.com/nodejs/node / checkBreakOrContinueStatement

Function checkBreakOrContinueStatement

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

Source from the content-addressed store, hash-verified

83612 getIterationTypesOfIterator(type, resolver, /*errorNode*/ undefined);
83613 }
83614 function checkBreakOrContinueStatement(node) {
83615 // Grammar checking
83616 if (!checkGrammarStatementInAmbientContext(node))
83617 checkGrammarBreakOrContinueStatement(node);
83618 // TODO: Check that target label is valid
83619 }
83620 function unwrapReturnType(returnType, functionFlags) {
83621 var isGenerator = !!(functionFlags & 1 /* FunctionFlags.Generator */);
83622 var isAsync = !!(functionFlags & 2 /* FunctionFlags.Async */);

Callers 1

checkSourceElementWorkerFunction · 0.85

Tested by

no test coverage detected