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

Function substituteUnspecified

test/fixtures/snapshot/typescript.js:107166–107172  ·  view source on GitHub ↗

* Substitute the node, if necessary. * * @param node The node to substitute.

(node)

Source from the content-addressed store, hash-verified

107164 * @param node The node to substitute.
107165 */
107166 function substituteUnspecified(node) {
107167 switch (node.kind) {
107168 case 297 /* SyntaxKind.ShorthandPropertyAssignment */:
107169 return substituteShorthandPropertyAssignment(node);
107170 }
107171 return node;
107172 }
107173 /**
107174 * Substitution for a ShorthandPropertyAssignment whose name that may contain an imported or exported symbol.
107175 *

Callers 1

onSubstituteNodeFunction · 0.85

Tested by

no test coverage detected