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

Function updateForStatement

test/fixtures/snapshot/typescript.js:24890–24897  ·  view source on GitHub ↗
(node, initializer, condition, incrementor, statement)

Source from the content-addressed store, hash-verified

24888 }
24889 // @api
24890 function updateForStatement(node, initializer, condition, incrementor, statement) {
24891 return node.initializer !== initializer
24892 || node.condition !== condition
24893 || node.incrementor !== incrementor
24894 || node.statement !== statement
24895 ? update(createForStatement(initializer, condition, incrementor, statement), node)
24896 : node;
24897 }
24898 // @api
24899 function createForInStatement(initializer, expression, statement) {
24900 var node = createBaseNode(243 /* SyntaxKind.ForInStatement */);

Callers

nothing calls this directly

Calls 2

createForStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected