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

Function aggregateAllBreakAndContinueStatements

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

Source from the content-addressed store, hash-verified

135675 return undefined;
135676 }
135677 function aggregateAllBreakAndContinueStatements(node) {
135678 return ts.isBreakOrContinueStatement(node) ? [node] : ts.isFunctionLike(node) ? undefined : flatMapChildren(node, aggregateAllBreakAndContinueStatements);
135679 }
135680 function flatMapChildren(node, cb) {
135681 var result = [];
135682 node.forEachChild(function (child) {

Calls 1

flatMapChildrenFunction · 0.85

Tested by

no test coverage detected