Searched refs:visitedTypes (Results 1 – 11 of 11) sorted by relevance
/third_party/typescript/src/compiler/ |
D | symbolWalker.ts | 19 const visitedTypes: Type[] = []; // Sparse array from id to type constant 26 … return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; 29 clear(visitedTypes); 36 … return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) }; 39 clear(visitedTypes); 50 if (visitedTypes[type.id]) { 53 visitedTypes[type.id] = type;
|
D | types.ts | 4425 walkType(root: Type): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] }; 4427 … walkSymbol(root: Symbol): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] };
|
D | checker.ts | 4489 visitedTypes: undefined, 4743 if (context.visitedTypes?.has(getTypeId(type))) { 4791 else if (context.visitedTypes?.has(typeId)) { 4819 …n (!!(context.flags & NodeBuilderFlags.UseTypeOfFunction) || (context.visitedTypes?.has(typeId))) … 4833 if (!context.visitedTypes) { 4834 context.visitedTypes = new Set(); 4848 context.visitedTypes.add(typeId); 4850 context.visitedTypes.delete(typeId); 7686 visitedTypes: Set<number> | undefined;
|
/third_party/typescript/scripts/ |
D | buildProtocol.ts | 15 private visitedTypes: ts.Type[] = []; property in DeclarationsWalker 40 if (this.visitedTypes.indexOf(type) >= 0) { 43 this.visitedTypes.push(type);
|
/third_party/typescript/src/services/refactors/ |
D | extractSymbol.ts | 1738 const { visitedTypes } = symbolWalker.walkType(type); constant 1740 for (const visitedType of visitedTypes) {
|
/third_party/typescript/lib/ |
D | tsc.js | 35772 var visitedTypes = []; 35778 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 35781 ts.clear(visitedTypes); 35788 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 35791 ts.clear(visitedTypes); 35800 if (visitedTypes[type.id]) { 35803 visitedTypes[type.id] = type; 39304 visitedTypes: undefined, 39542 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 39585 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|
D | typingsInstaller.js | 43681 var visitedTypes = []; // Sparse array from id to type 43687 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43690 ts.clear(visitedTypes); 43697 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43700 ts.clear(visitedTypes); 43709 if (visitedTypes[type.id]) { 43712 visitedTypes[type.id] = type; 47907 visitedTypes: undefined, 48147 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 48194 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|
D | tsserverlibrary.js | 43886 var visitedTypes = []; // Sparse array from id to type 43892 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43895 ts.clear(visitedTypes); 43902 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43905 ts.clear(visitedTypes); 43914 if (visitedTypes[type.id]) { 43917 visitedTypes[type.id] = type; 48112 visitedTypes: undefined, 48352 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 48399 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|
D | typescript.js | 43886 var visitedTypes = []; // Sparse array from id to type 43892 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43895 ts.clear(visitedTypes); 43902 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43905 ts.clear(visitedTypes); 43914 if (visitedTypes[type.id]) { 43917 visitedTypes[type.id] = type; 48112 visitedTypes: undefined, 48352 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 48399 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|
D | tsserver.js | 43692 var visitedTypes = []; // Sparse array from id to type 43698 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43701 ts.clear(visitedTypes); 43708 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43711 ts.clear(visitedTypes); 43720 if (visitedTypes[type.id]) { 43723 visitedTypes[type.id] = type; 47918 visitedTypes: undefined, 48158 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 48205 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|
D | typescriptServices.js | 43886 var visitedTypes = []; // Sparse array from id to type 43892 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43895 ts.clear(visitedTypes); 43902 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo… 43905 ts.clear(visitedTypes); 43914 if (visitedTypes[type.id]) { 43917 visitedTypes[type.id] = type; 48112 visitedTypes: undefined, 48352 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) { 48399 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) { [all …]
|