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

Function updateBreakStatement

test/fixtures/snapshot/typescript.js:24969–24973  ·  view source on GitHub ↗
(node, label)

Source from the content-addressed store, hash-verified

24967 }
24968 // @api
24969 function updateBreakStatement(node, label) {
24970 return node.label !== label
24971 ? update(createBreakStatement(label), node)
24972 : node;
24973 }
24974 // @api
24975 function createReturnStatement(expression) {
24976 var node = createBaseNode(247 /* SyntaxKind.ReturnStatement */);

Callers

nothing calls this directly

Calls 2

createBreakStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected