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

Function ownsBreakOrContinueStatement

test/fixtures/snapshot/typescript.js:135690–135693  ·  view source on GitHub ↗
(owner, statement)

Source from the content-addressed store, hash-verified

135688 return result;
135689 }
135690 function ownsBreakOrContinueStatement(owner, statement) {
135691 var actualOwner = getBreakOrContinueOwner(statement);
135692 return !!actualOwner && actualOwner === owner;
135693 }
135694 function getBreakOrContinueOwner(statement) {
135695 return ts.findAncestor(statement, function (node) {
135696 switch (node.kind) {

Calls 1

getBreakOrContinueOwnerFunction · 0.85

Tested by

no test coverage detected