Home
last modified time | relevance | path

Searched refs:Uppercase (Results 1 – 25 of 65) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
DstringMappingOverPatternLiterals.types6 type B = Uppercase<A>;
16 type BTemplate = Uppercase<ATemplate>;
17 >BTemplate : `AA${Uppercase<string>}`
38 >b_template : `AA${Uppercase<string>}`
52 >b_template : `AA${Uppercase<string>}`
67 >b = b_template : `AA${Uppercase<string>}`
69 >b_template : `AA${Uppercase<string>}`
78 >a_template = b_template : `AA${Uppercase<string>}`
80 >b_template : `AA${Uppercase<string>}`
89 >b_template : `AA${Uppercase<string>}`
[all …]
DintrinsicTypes.types2 type TU1 = Uppercase<'hello'>; // "HELLO"
5 type TU2 = Uppercase<'foo' | 'bar'>; // "FOO" | "BAR"
8 type TU3 = Uppercase<string>; // Uppercase<string>
9 >TU3 : Uppercase<string>
11 type TU4 = Uppercase<any>; // Uppercase<`${any}`>
12 >TU4 : Uppercase<any>
14 type TU5 = Uppercase<never>; // never
17 type TU6 = Uppercase<42>; // Error
74 type TX1<S extends string> = Uppercase<`aB${S}`>;
75 >TX1 : `AB${Uppercase<S>}`
[all …]
DintrinsicTypes.js2 type TU1 = Uppercase<'hello'>; // "HELLO"
3 type TU2 = Uppercase<'foo' | 'bar'>; // "FOO" | "BAR"
4 type TU3 = Uppercase<string>; // Uppercase<string>
5 type TU4 = Uppercase<any>; // Uppercase<`${any}`>
6 type TU5 = Uppercase<never>; // never
7 type TU6 = Uppercase<42>; // Error
30 type TX1<S extends string> = Uppercase<`aB${S}`>;
34 type TX5 = `${Uppercase<'abc'>}${Lowercase<'XYZ'>}`; // "ABCxyz"
38 function foo1<T extends string, U extends T>(s: string, x: Uppercase<T>, y: Uppercase<U>) {
47 function foo2<T extends 'foo' | 'bar'>(x: Uppercase<T>) {
[all …]
DstringMappingOverPatternLiterals.errors.txt2 …ral/stringMappingOverPatternLiterals.ts(26,5): error TS2322: Type '`AA${Uppercase<string>}`' is no…
6 …ral/stringMappingOverPatternLiterals.ts(30,5): error TS2322: Type '`AA${Uppercase<string>}`' is no…
8 ….ts(33,5): error TS2322: Type '`aA${string}`' is not assignable to type '`AA${Uppercase<string>}`'.
9 …error TS2322: Type '`aa${Lowercase<string>}`' is not assignable to type '`AA${Uppercase<string>}`'.
11 …ral/stringMappingOverPatternLiterals.ts(37,5): error TS2322: Type '`AA${Uppercase<string>}`' is no…
12 …atternLiterals.ts(51,5): error TS2322: Type 'string' is not assignable to type 'Uppercase<string>'.
13 …als.ts(52,5): error TS2322: Type 'Lowercase<string>' is not assignable to type 'Uppercase<string>'.
15 …/literal/stringMappingOverPatternLiterals.ts(54,5): error TS2322: Type 'Uppercase<string>' is not …
16 …atternLiterals.ts(56,5): error TS2322: Type 'string' is not assignable to type 'Uppercase<string>'.
18 …verPatternLiterals.ts(78,5): error TS2322: Type 'Uppercase<string>' is not assignable to type 'Upp…
[all …]
DintrinsicTypes.symbols2 type TU1 = Uppercase<'hello'>; // "HELLO"
4 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
6 type TU2 = Uppercase<'foo' | 'bar'>; // "FOO" | "BAR"
8 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
10 type TU3 = Uppercase<string>; // Uppercase<string>
12 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
14 type TU4 = Uppercase<any>; // Uppercase<`${any}`>
16 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
18 type TU5 = Uppercase<never>; // never
20 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
[all …]
DintrinsicTypes.errors.txt6 …ases/intrinsicTypes.ts(40,5): error TS2322: Type 'string' is not assignable to type 'Uppercase<T>'.
7 …ases/intrinsicTypes.ts(42,5): error TS2322: Type 'string' is not assignable to type 'Uppercase<U>'.
8 …iases/intrinsicTypes.ts(43,5): error TS2322: Type 'Uppercase<T>' is not assignable to type 'Upperc…
14 type TU1 = Uppercase<'hello'>; // "HELLO"
15 type TU2 = Uppercase<'foo' | 'bar'>; // "FOO" | "BAR"
16 type TU3 = Uppercase<string>; // Uppercase<string>
17 type TU4 = Uppercase<any>; // Uppercase<`${any}`>
18 type TU5 = Uppercase<never>; // never
19 type TU6 = Uppercase<42>; // Error
50 type TX1<S extends string> = Uppercase<`aB${S}`>;
[all …]
DstringLiteralsAssignedToStringMappings.types2 declare var x: Uppercase<Lowercase<string>>;
3 >x : Uppercase<Lowercase<string>>
8 >x : Uppercase<Lowercase<string>>
14 >x : Uppercase<Lowercase<string>>
17 declare var y: Uppercase<Lowercase<`${number}`>>;
18 >y : Uppercase<Lowercase<`${number}`>>
23 >y : Uppercase<Lowercase<`${number}`>>
29 >y : Uppercase<Lowercase<`${number}`>>
34 >y : Uppercase<Lowercase<`${number}`>>
DstringLiteralsAssignedToStringMappings.errors.txt1 …appings.ts(7,1): error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<string…
2 …ppings.ts(15,1): error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<`${num…
3 …ppings.ts(16,1): error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<`${num…
7 declare var x: Uppercase<Lowercase<string>>;
15 !!! error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<string>>'.
17 declare var y: Uppercase<Lowercase<`${number}`>>;
25 !!! error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<`${number}`>>'.
28 !!! error TS2322: Type 'string' is not assignable to type 'Uppercase<Lowercase<`${number}`>>'.
DstringMappingOverPatternLiterals.symbols6 type B = Uppercase<A>;
8 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
20 type BTemplate = Uppercase<ATemplate>;
22 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
112 function f2(x1: string, x2: Uppercase<string>, x3: Lowercase<string>) {
116 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
164 x1: Uppercase<string>,
166 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
168 x2: Uppercase<Uppercase<string>>,
170 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
[all …]
DstringMappingOverPatternLiterals.js4 type B = Uppercase<A>;
9 type BTemplate = Uppercase<ATemplate>;
43 function f2(x1: string, x2: Uppercase<string>, x3: Lowercase<string>) {
64 x1: Uppercase<string>,
65 x2: Uppercase<Uppercase<string>>,
66 x3: Uppercase<Lowercase<string>>) {
83 var x4: Lowercase<Uppercase<string>> = null as any;
95 type NonStringPat = Uppercase<`aA${number}${bigint}${boolean}`>;
96 type EquivalentNonStringPat = `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}${Uppercase<`${b…
DstringLiteralsAssignedToStringMappings.symbols2 declare var x: Uppercase<Lowercase<string>>;
4 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
15 declare var y: Uppercase<Lowercase<`${number}`>>;
17 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
DtemplateLiteralTypes3.types567 function ft1<T extends string>(t: T, u: Uppercase<T>, u1: Uppercase<`1.${T}.3`>, u2: Uppercase<`1.$…
568 >ft1 : <T extends string>(t: T, u: Uppercase<T>, u1: Uppercase<`1.${T}.3`>, u2: Uppercase<`1.${T}.4…
570 >u : Uppercase<T>
571 >u1 : `1.${Uppercase<T>}.3`
572 >u2 : `1.${Uppercase<T>}.4`
583 >spread(`1.${u}.3`, `1.${u}.4`) : `1.${Uppercase<T>}.3` | `1.${Uppercase<T>}.4`
585 >`1.${u}.3` : `1.${Uppercase<T>}.3`
586 >u : Uppercase<T>
587 >`1.${u}.4` : `1.${Uppercase<T>}.4`
588 >u : Uppercase<T>
[all …]
DmappedTypeConstraints2.errors.txt3 …mapped/mappedTypeConstraints2.ts(16,11): error TS2322: Type 'Mapped3<K>[Uppercase<K>]' is not assi…
4 Type 'Mapped3<K>[Uppercase<string>]' is not assignable to type '{ a: K; }'.
26 type Mapped3<K extends string> = { [P in K as Uppercase<P>]: { a: P } };
28 function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>) {
31 !!! error TS2322: Type 'Mapped3<K>[Uppercase<K>]' is not assignable to type '{ a: K; }'.
32 !!! error TS2322: Type 'Mapped3<K>[Uppercase<string>]' is not assignable to type '{ a: K; }'.
DmappedTypeConstraints2.types36 type Mapped3<K extends string> = { [P in K as Uppercase<P>]: { a: P } };
40 function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>) {
41 >f3 : <K extends string>(obj: Mapped3<K>, key: Uppercase<K>) => void
43 >key : Uppercase<K>
48 >obj[key] : Mapped3<K>[Uppercase<K>]
50 >key : Uppercase<K>
DmappedTypeConstraints2.js14 type Mapped3<K extends string> = { [P in K as Uppercase<P>]: { a: P } };
16 function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>) {
90 [P in K as Uppercase<P>]: {
94 declare function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>): void;
DstringLiteralsAssignedToStringMappings.js2 declare var x: Uppercase<Lowercase<string>>;
10 declare var y: Uppercase<Lowercase<`${number}`>>;
DmappedTypeConstraints2.symbols53 type Mapped3<K extends string> = { [P in K as Uppercase<P>]: { a: P } };
58 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
63 function f3<K extends string>(obj: Mapped3<K>, key: Uppercase<K>) {
70 >Uppercase : Symbol(Uppercase, Decl(lib.es5.d.ts, --, --))
/third_party/typescript/tests/cases/conformance/types/typeAliases/
DintrinsicTypes.ts4 type TU1 = Uppercase<'hello'>; // "HELLO"
5 type TU2 = Uppercase<'foo' | 'bar'>; // "FOO" | "BAR"
6 type TU3 = Uppercase<string>; // Uppercase<string>
7 type TU4 = Uppercase<any>; // Uppercase<`${any}`>
8 type TU5 = Uppercase<never>; // never
9 type TU6 = Uppercase<42>; // Error
32 type TX1<S extends string> = Uppercase<`aB${S}`>;
36 type TX5 = `${Uppercase<'abc'>}${Lowercase<'XYZ'>}`; // "ABCxyz"
40 function foo1<T extends string, U extends T>(s: string, x: Uppercase<T>, y: Uppercase<U>) {
49 function foo2<T extends 'foo' | 'bar'>(x: Uppercase<T>) {
[all …]
/third_party/typescript/tests/cases/conformance/types/literal/
DstringMappingOverPatternLiterals.ts3 type B = Uppercase<A>;
8 type BTemplate = Uppercase<ATemplate>;
42 function f2(x1: string, x2: Uppercase<string>, x3: Lowercase<string>) {
63 x1: Uppercase<string>,
64 x2: Uppercase<Uppercase<string>>,
65 x3: Uppercase<Lowercase<string>>) {
82 var x4: Lowercase<Uppercase<string>> = null as any;
94 type NonStringPat = Uppercase<`aA${number}${bigint}${boolean}`>;
95 type EquivalentNonStringPat = `AA${Uppercase<`${number}`>}${Uppercase<`${bigint}`>}${Uppercase<`${b…
DstringLiteralsAssignedToStringMappings.ts1 declare var x: Uppercase<Lowercase<string>>;
9 declare var y: Uppercase<Lowercase<`${number}`>>;
DtemplateLiteralTypes3.ts189 function ft1<T extends string>(t: T, u: Uppercase<T>, u1: Uppercase<`1.${T}.3`>, u2: Uppercase<`1.$…
/third_party/icu/icu4c/source/data/unidata/
DDerivedCoreProperties.txt261 # Generated from: Uppercase + Lowercase + Lt + Lm + Lo + Nl + Other_Alphabetic
2102 # Derived Property: Uppercase
2105 0041..005A ; Uppercase
2106 00C0..00D6 ; Uppercase
2107 00D8..00DE ; Uppercase
2108 0100 ; Uppercase
2109 0102 ; Uppercase
2110 0104 ; Uppercase
2111 0106 ; Uppercase
2112 0108 ; Uppercase
[all …]
/third_party/skia/third_party/externals/icu/source/data/unidata/
DDerivedCoreProperties.txt261 # Generated from: Uppercase + Lowercase + Lt + Lm + Lo + Nl + Other_Alphabetic
2025 # Derived Property: Uppercase
2028 0041..005A ; Uppercase
2029 00C0..00D6 ; Uppercase
2030 00D8..00DE ; Uppercase
2031 0100 ; Uppercase
2032 0102 ; Uppercase
2033 0104 ; Uppercase
2034 0106 ; Uppercase
2035 0108 ; Uppercase
[all …]
/third_party/pcre2/pcre2/maint/Unicode.tables/
DDerivedCoreProperties.txt261 # Generated from: Uppercase + Lowercase + Lt + Lm + Lo + Nl + Other_Alphabetic
2074 # Derived Property: Uppercase
2077 0041..005A ; Uppercase # L& [26] LATIN CAPITAL LETTER A..LATIN CAPITAL LETTER Z
2078 00C0..00D6 ; Uppercase # L& [23] LATIN CAPITAL LETTER A WITH GRAVE..LATIN CAPITAL LETTER O WITH…
2079 00D8..00DE ; Uppercase # L& [7] LATIN CAPITAL LETTER O WITH STROKE..LATIN CAPITAL LETTER THORN
2080 0100 ; Uppercase # L& LATIN CAPITAL LETTER A WITH MACRON
2081 0102 ; Uppercase # L& LATIN CAPITAL LETTER A WITH BREVE
2082 0104 ; Uppercase # L& LATIN CAPITAL LETTER A WITH OGONEK
2083 0106 ; Uppercase # L& LATIN CAPITAL LETTER C WITH ACUTE
2084 0108 ; Uppercase # L& LATIN CAPITAL LETTER C WITH CIRCUMFLEX
[all …]
/third_party/rust/crates/heck/src/
Dlib.rs105 Uppercase, in transform() enumerator
130 WordMode::Uppercase in transform()
148 } else if mode == WordMode::Uppercase && c.is_uppercase() && next.is_lowercase() { in transform()

123