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

Function recreateBindingPattern

test/fixtures/snapshot/typescript.js:109265–109267  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

109263 return factory.updateVariableStatement(input, factory.createNodeArray(ensureModifiers(input)), factory.updateVariableDeclarationList(input.declarationList, nodes));
109264 }
109265 function recreateBindingPattern(d) {
109266 return ts.flatten(ts.mapDefined(d.elements, function (e) { return recreateBindingElement(e); }));
109267 }
109268 function recreateBindingElement(e) {
109269 if (e.kind === 227 /* SyntaxKind.OmittedExpression */) {
109270 return;

Callers 2

visitDeclarationSubtreeFunction · 0.85
recreateBindingElementFunction · 0.85

Calls 1

recreateBindingElementFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…