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

Function updateDoStatement

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

Source from the content-addressed store, hash-verified

24850 }
24851 // @api
24852 function updateDoStatement(node, statement, expression) {
24853 return node.statement !== statement
24854 || node.expression !== expression
24855 ? update(createDoStatement(statement, expression), node)
24856 : node;
24857 }
24858 // @api
24859 function createWhileStatement(expression, statement) {
24860 var node = createBaseNode(241 /* SyntaxKind.WhileStatement */);

Callers

nothing calls this directly

Calls 2

createDoStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected