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

Function transformAndEmitContinueStatement

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

Source from the content-addressed store, hash-verified

103080 return node;
103081 }
103082 function transformAndEmitContinueStatement(node) {
103083 var label = findContinueTarget(node.label ? ts.idText(node.label) : undefined);
103084 if (label > 0) {
103085 emitBreak(label, /*location*/ node);
103086 }
103087 else {
103088 // invalid continue without a containing loop. Leave the node as is, per #17875.
103089 emitStatement(node);
103090 }
103091 }
103092 function visitContinueStatement(node) {
103093 if (inStatementContainingYield) {
103094 var label = findContinueTarget(node.label && ts.idText(node.label));

Callers 1

Calls 3

findContinueTargetFunction · 0.85
emitBreakFunction · 0.85
emitStatementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…