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

Function createSynthIdentifier

test/fixtures/snapshot/typescript.js:152049–152052  ·  view source on GitHub ↗
(identifier, types)

Source from the content-addressed store, hash-verified

152047 return ts.every(bindingName.elements, isEmptyBindingName);
152048 }
152049 function createSynthIdentifier(identifier, types) {
152050 if (types === void 0) { types = []; }
152051 return { kind: 0 /* SynthBindingNameKind.Identifier */, identifier: identifier, types: types, hasBeenDeclared: false, hasBeenReferenced: false };
152052 }
152053 function createSynthBindingPattern(bindingPattern, elements, types) {
152054 if (elements === void 0) { elements = ts.emptyArray; }
152055 if (types === void 0) { types = []; }

Callers 6

renameCollidingVarNamesFunction · 0.85
getNewNameIfConflictFunction · 0.85
createUniqueSynthNameFunction · 0.85
maybeAnnotateAndReturnFunction · 0.85
getMapEntryOrDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected