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

Function updateWhileStatement

test/fixtures/snapshot/typescript.js:24869–24874  ·  view source on GitHub ↗
(node, expression, statement)

Source from the content-addressed store, hash-verified

24867 }
24868 // @api
24869 function updateWhileStatement(node, expression, statement) {
24870 return node.expression !== expression
24871 || node.statement !== statement
24872 ? update(createWhileStatement(expression, statement), node)
24873 : node;
24874 }
24875 // @api
24876 function createForStatement(initializer, condition, incrementor, statement) {
24877 var node = createBaseNode(242 /* SyntaxKind.ForStatement */);

Callers

nothing calls this directly

Calls 2

createWhileStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected