MCPcopy Index your code
hub / github.com/nodejs/node / updateVariableStatement

Function updateVariableStatement

test/fixtures/snapshot/typescript.js:24798–24803  ·  view source on GitHub ↗
(node, modifiers, declarationList)

Source from the content-addressed store, hash-verified

24796 }
24797 // @api
24798 function updateVariableStatement(node, modifiers, declarationList) {
24799 return node.modifiers !== modifiers
24800 || node.declarationList !== declarationList
24801 ? update(createVariableStatement(modifiers, declarationList), node)
24802 : node;
24803 }
24804 // @api
24805 function createEmptyStatement() {
24806 return createBaseNode(236 /* SyntaxKind.EmptyStatement */);

Callers 1

updateModifiersFunction · 0.85

Calls 2

createVariableStatementFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected