Home
last modified time | relevance | path

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

/third_party/typescript/src/compiler/
DsymbolWalker.ts19 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;
Dtypes.ts4425 walkType(root: Type): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] };
4427 … walkSymbol(root: Symbol): { visitedTypes: readonly Type[], visitedSymbols: readonly Symbol[] };
Dchecker.ts4489 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/
DbuildProtocol.ts15 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/
DextractSymbol.ts1738 const { visitedTypes } = symbolWalker.walkType(type); constant
1740 for (const visitedType of visitedTypes) {
/third_party/typescript/lib/
Dtsc.js35772 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 …]
DtypingsInstaller.js43681 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 …]
Dtsserverlibrary.js43886 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 …]
Dtypescript.js43886 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 …]
Dtsserver.js43692 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 …]
DtypescriptServices.js43886 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 …]