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

Function updateIdentifier

test/fixtures/snapshot/typescript.js:22977–22981  ·  view source on GitHub ↗
(node, typeArguments)

Source from the content-addressed store, hash-verified

22975 }
22976 // @api
22977 function updateIdentifier(node, typeArguments) {
22978 return node.typeArguments !== typeArguments
22979 ? update(createIdentifier(ts.idText(node), typeArguments), node)
22980 : node;
22981 }
22982 // @api
22983 function createTempVariable(recordTempVariable, reservedInNestedScopes) {
22984 var flags = 1 /* GeneratedIdentifierFlags.Auto */;

Callers

nothing calls this directly

Calls 2

createIdentifierFunction · 0.85
updateFunction · 0.70

Tested by

no test coverage detected