Home
last modified time | relevance | path

Searched refs:visitedTypes (Results 1 – 7 of 7) sorted by relevance

/third_party/typescript/src/compiler/
DsymbolWalker.ts18 const visitedTypes: Type[] = []; // Sparse array from id to type constant
25 … return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };
28 clear(visitedTypes);
35 … return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };
38 clear(visitedTypes);
49 if (visitedTypes[type.id]) {
52 visitedTypes[type.id] = type;
Dtypes.ts5065 walkType(root: Type): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] };
5067 … walkSymbol(root: Symbol): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] };
Dchecker.ts5110 visitedTypes: undefined,
5468 if (context.visitedTypes?.has(getTypeId(type))) {
5542 else if (context.visitedTypes?.has(typeId)) {
5570 …n (!!(context.flags & NodeBuilderFlags.UseTypeOfFunction) || (context.visitedTypes?.has(typeId))) …
5585 if (!context.visitedTypes) {
5586 context.visitedTypes = new Set();
5614 context.visitedTypes.add(typeId);
5625 context.visitedTypes.delete(typeId);
8585 visitedTypes: Set<number> | undefined; property
/third_party/typescript/scripts/
DbuildProtocol.mjs28 visitedTypes = []; field in DeclarationsWalker
79 if (this.visitedTypes.indexOf(type) >= 0) {
82 this.visitedTypes.push(type);
/third_party/typescript/src/services/refactors/
DextractSymbol.ts1795 const { visitedTypes } = symbolWalker.walkType(type); constant
1797 for (const visitedType of visitedTypes) {
/third_party/typescript/lib/
DtypingsInstaller.js50305 var visitedTypes = []; // Sparse array from id to type
50311 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo…
50314 ts.clear(visitedTypes);
50321 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo…
50324 ts.clear(visitedTypes);
50333 if (visitedTypes[type.id]) {
50336 visitedTypes[type.id] = type;
55144 visitedTypes: undefined,
55470 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) {
55537 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) {
[all …]
Dtsc.js41542 var visitedTypes = [];
41548 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo…
41551 ts.clear(visitedTypes);
41558 …return { visitedTypes: ts.getOwnValues(visitedTypes), visitedSymbols: ts.getOwnValues(visitedSymbo…
41561 ts.clear(visitedTypes);
41570 if (visitedTypes[type.id]) {
41573 visitedTypes[type.id] = type;
45618 visitedTypes: undefined,
45928 … if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(getTypeId(type))) {
45988 … else if ((_a = context.visitedTypes) === null || _a === void 0 ? void 0 : _a.has(typeId)) {
[all …]