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

Function createBreakStatement

test/fixtures/snapshot/typescript.js:24960–24967  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

24958 }
24959 // @api
24960 function createBreakStatement(label) {
24961 var node = createBaseNode(246 /* SyntaxKind.BreakStatement */);
24962 node.label = asName(label);
24963 node.transformFlags |=
24964 propagateChildFlags(node.label) |
24965 2097152 /* TransformFlags.ContainsHoistedDeclarationOrCompletion */;
24966 return node;
24967 }
24968 // @api
24969 function updateBreakStatement(node, label) {
24970 return node.label !== label

Callers 1

updateBreakStatementFunction · 0.85

Calls 3

createBaseNodeFunction · 0.85
asNameFunction · 0.85
propagateChildFlagsFunction · 0.85

Tested by

no test coverage detected