/third_party/typescript/src/compiler/ |
D | core.ts | 271 …export function contains<T>(array: readonly T[] | undefined, value: T, equalityComparer: EqualityC… 274 if (equalityComparer(v, value)) { 282 …export function arraysEqual<T>(a: readonly T[], b: readonly T[], equalityComparer: EqualityCompare… 283 return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i])); 748 …function deduplicateRelational<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, comp… 759 if (!equalityComparer(last, item)) { 770 function deduplicateEquality<T>(array: readonly T[], equalityComparer: EqualityComparer<T>) { 773 pushIfUnique(result, item, equalityComparer); 784 …export function deduplicate<T>(array: readonly T[], equalityComparer: EqualityComparer<T>, compare… 787 comparer ? deduplicateRelational(array, equalityComparer, comparer) : [all …]
|
D | path.ts | 752 … const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer; constant 753 if (!equalityComparer(parentComponents[i], childComponents[i])) {
|
D | program.ts | 1722 …const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStr… constant 1724 return equalityComparer(file.fileName, getDefaultLibraryFileName()); 1727 …return some(options.lib, libFileName => equalityComparer(file.fileName, combinePaths(defaultLibrar…
|
/third_party/typescript/tests/baselines/reference/ |
D | genericClassPropertyInheritanceSpecialization.types | 12 equalityComparer(a: T, b: T): boolean; 13 >equalityComparer : (a: T, b: T) => boolean
|
D | genericClassPropertyInheritanceSpecialization.symbols | 24 equalityComparer(a: T, b: T): boolean; 25 >equalityComparer : Symbol(KnockoutObservable.equalityComparer, Decl(genericClassPropertyInheritanc…
|
D | genericClassPropertyInheritanceSpecialization.js | 9 equalityComparer(a: T, b: T): boolean;
|
/third_party/typescript/tests/cases/compiler/ |
D | genericClassPropertyInheritanceSpecialization.ts | 8 equalityComparer(a: T, b: T): boolean; method
|
/third_party/typescript/lib/ |
D | tsc.js | 289 function contains(array, value, equalityComparer) { argument 290 if (equalityComparer === void 0) { equalityComparer = equateValues; } 294 if (equalityComparer(v, value)) { 302 function arraysEqual(a, b, equalityComparer) { argument 303 if (equalityComparer === void 0) { equalityComparer = equateValues; } 304 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 702 function deduplicateRelational(array, equalityComparer, comparer) { argument 710 if (!equalityComparer(last, item)) { 718 function deduplicateEquality(array, equalityComparer) { argument 722 pushIfUnique(result, item, equalityComparer); [all …]
|
D | typingsInstaller.js | 358 function contains(array, value, equalityComparer) { argument 359 if (equalityComparer === void 0) { equalityComparer = equateValues; } 363 if (equalityComparer(v, value)) { 371 function arraysEqual(a, b, equalityComparer) { argument 372 if (equalityComparer === void 0) { equalityComparer = equateValues; } 373 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 783 function deduplicateRelational(array, equalityComparer, comparer) { argument 793 if (!equalityComparer(last, item)) { 802 function deduplicateEquality(array, equalityComparer) { argument 806 pushIfUnique(result, item, equalityComparer); [all …]
|
D | typescriptServices.js | 563 function contains(array, value, equalityComparer) { argument 564 if (equalityComparer === void 0) { equalityComparer = equateValues; } 568 if (equalityComparer(v, value)) { 576 function arraysEqual(a, b, equalityComparer) { argument 577 if (equalityComparer === void 0) { equalityComparer = equateValues; } 578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 988 function deduplicateRelational(array, equalityComparer, comparer) { argument 998 if (!equalityComparer(last, item)) { 1007 function deduplicateEquality(array, equalityComparer) { argument 1011 pushIfUnique(result, item, equalityComparer); [all …]
|
D | tsserverlibrary.js | 563 function contains(array, value, equalityComparer) { argument 564 if (equalityComparer === void 0) { equalityComparer = equateValues; } 568 if (equalityComparer(v, value)) { 576 function arraysEqual(a, b, equalityComparer) { argument 577 if (equalityComparer === void 0) { equalityComparer = equateValues; } 578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 988 function deduplicateRelational(array, equalityComparer, comparer) { argument 998 if (!equalityComparer(last, item)) { 1007 function deduplicateEquality(array, equalityComparer) { argument 1011 pushIfUnique(result, item, equalityComparer); [all …]
|
D | tsserver.js | 369 function contains(array, value, equalityComparer) { argument 370 if (equalityComparer === void 0) { equalityComparer = equateValues; } 374 if (equalityComparer(v, value)) { 382 function arraysEqual(a, b, equalityComparer) { argument 383 if (equalityComparer === void 0) { equalityComparer = equateValues; } 384 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 794 function deduplicateRelational(array, equalityComparer, comparer) { argument 804 if (!equalityComparer(last, item)) { 813 function deduplicateEquality(array, equalityComparer) { argument 817 pushIfUnique(result, item, equalityComparer); [all …]
|
D | typescript.js | 563 function contains(array, value, equalityComparer) { argument 564 if (equalityComparer === void 0) { equalityComparer = equateValues; } 568 if (equalityComparer(v, value)) { 576 function arraysEqual(a, b, equalityComparer) { argument 577 if (equalityComparer === void 0) { equalityComparer = equateValues; } 578 … return a.length === b.length && a.every(function (x, i) { return equalityComparer(x, b[i]); }); 988 function deduplicateRelational(array, equalityComparer, comparer) { argument 998 if (!equalityComparer(last, item)) { 1007 function deduplicateEquality(array, equalityComparer) { argument 1011 pushIfUnique(result, item, equalityComparer); [all …]
|