Home
last modified time | relevance | path

Searched refs:Red (Results 1 – 25 of 628) sorted by relevance

12345678910>>...26

/third_party/typescript/tests/baselines/reference/
DerrorForUsingPropertyOfTypeAsType03.errors.txt1 …singPropertyOfTypeAsType03.ts(11,19): error TS2694: Namespace 'Color' has no exported member 'Red'.
2 tests/cases/compiler/errorForUsingPropertyOfTypeAsType03.ts(13,19): error TS2339: Property 'Red' do…
5 tests/cases/compiler/errorForUsingPropertyOfTypeAsType03.ts(21,16): error TS2339: Property 'Red' do…
6 …t access 'C2.Red' because 'C2' is a type, but not a namespace. Did you mean to retrieve the type o…
7 …t access 'C2.Red' because 'C2' is a type, but not a namespace. Did you mean to retrieve the type o…
13 Red,
21 let a1: Color.Red.toString;
23 !!! error TS2694: Namespace 'Color' has no exported member 'Red'.
24 let a2: Color.Red["toString"];
25 let a3: Color["Red"]["toString"];
[all …]
DerrorForUsingPropertyOfTypeAsType03.types8 Red,
9 >Red : Color.Red
25 let a1: Color.Red.toString;
28 >Red : any
30 let a2: Color.Red["toString"];
34 let a3: Color["Red"]["toString"];
37 //let b1: (typeof Color).Red.toString;
38 //let b2: (typeof Color).Red["toString"];
39 let b3: (typeof Color)["Red"]["toString"];
43 let c1: C1.Red.toString;
[all …]
DerrorForUsingPropertyOfTypeAsType03.symbols8 Red,
9 >Red : Symbol(Color.Red, Decl(errorForUsingPropertyOfTypeAsType03.ts, 1, 16))
26 let a1: Color.Red.toString;
30 let a2: Color.Red["toString"];
33 >Red : Symbol(Color.Red, Decl(errorForUsingPropertyOfTypeAsType03.ts, 1, 16))
35 let a3: Color["Red"]["toString"];
39 //let b1: (typeof Color).Red.toString;
40 //let b2: (typeof Color).Red["toString"];
41 let b3: (typeof Color)["Red"]["toString"];
45 let c1: C1.Red.toString;
[all …]
DenumPropertyAccess.types5 Red,
6 >Red : Colors.Red
12 var x = Colors.Red; // type of 'x' should be 'Colors'
14 >Colors.Red : Colors.Red
16 >Red : Colors.Red
21 >x : Colors.Red
27 >x : Colors.Red
DderivedClasses.types2 class Red extends Color {
3 >Red : Red
60 var r = new Red();
61 >r : Red
62 >new Red() : Red
63 >Red : typeof Red
73 >r : Red
79 >r : Red
DModuleAndEnumWithSameNameAndCommonRoot.types17 Red, Blue
18 >Red : enumdule.Red
25 var x = enumdule.Red;
27 >enumdule.Red : enumdule.Red
29 >Red : enumdule.Red
DEnumAndModuleWithSameNameAndCommonRoot.types5 Red, Blue
6 >Red : enumdule.Red
25 var x = enumdule.Red;
27 >enumdule.Red : enumdule.Red
29 >Red : enumdule.Red
DModuleWithExportedAndNonExportedEnums.types5 export enum Color { Red, Blue }
7 >Red : Color.Red
17 var a: A.Color = A.Color.Red;
20 >A.Color.Red : A.Color.Red
24 >Red : A.Color.Red
DerrorForUsingPropertyOfTypeAsType03.js4 Red,
12 let a1: Color.Red.toString;
13 let a2: Color.Red["toString"];
20 let c1: C1.Red.toString;
21 let c2: C1.Red["toString"];
24 let d1: C2.Red.toString;
25 let d2: C2.Red["toString"];
DderivedClasses.js2 class Red extends Color { class
22 var r = new Red();
49 var Red = /** @class */ (function (_super) {
50 __extends(Red, _super);
51 function Red() { class in Red
54 Red.prototype.shade = function () {
59 return Red;
80 var r = new Red();
DenumMerging.types165 export enum Color { Red, Green, Blue }
167 >Red : Color.Red
174 export enum Color { Red, Green, Blue }
176 >Red : Color.Red
185 export enum Color { Red, Green, Blue }
187 >Red : Color.Red
210 t = A.Color.Red;
211 >t = A.Color.Red : A.Color.Red
213 >A.Color.Red : A.Color.Red
217 >Red : A.Color.Red
DModuleWithExportedAndNonExportedEnums.symbols5 export enum Color { Red, Blue }
7 >Red : Symbol(Color.Red, Decl(ModuleWithExportedAndNonExportedEnums.ts, 1, 23))
17 var a: A.Color = A.Color.Red;
21 >A.Color.Red : Symbol(A.Color.Red, Decl(ModuleWithExportedAndNonExportedEnums.ts, 1, 23))
25 >Red : Symbol(A.Color.Red, Decl(ModuleWithExportedAndNonExportedEnums.ts, 1, 23))
DderivedClasses.symbols2 class Red extends Color {
3 >Red : Symbol(Red, Decl(derivedClasses.ts, 0, 0))
7 >shade : Symbol(Red.shade, Decl(derivedClasses.ts, 0, 25))
12 >this : Symbol(Red, Decl(derivedClasses.ts, 0, 0))
48 var r = new Red();
50 >Red : Symbol(Red, Decl(derivedClasses.ts, 0, 0))
57 >r.shade : Symbol(Red.shade, Decl(derivedClasses.ts, 0, 25))
59 >shade : Symbol(Red.shade, Decl(derivedClasses.ts, 0, 25))
DenumUsedBeforeDeclaration.types14 enum Color { Red, Green, Blue }
16 >Red : Color.Red
20 const enum ConstColor { Red, Green, Blue }
22 >Red : ConstColor.Red
DModuleAndEnumWithSameNameAndCommonRoot.symbols17 Red, Blue
18 >Red : Symbol(enumdule.Red, Decl(ModuleAndEnumWithSameNameAndCommonRoot.ts, 7, 15))
26 var x = enumdule.Red;
28 >enumdule.Red : Symbol(enumdule.Red, Decl(ModuleAndEnumWithSameNameAndCommonRoot.ts, 7, 15))
30 >Red : Symbol(enumdule.Red, Decl(ModuleAndEnumWithSameNameAndCommonRoot.ts, 7, 15))
DEnumAndModuleWithSameNameAndCommonRoot.symbols5 Red, Blue
6 >Red : Symbol(enumdule.Red, Decl(EnumAndModuleWithSameNameAndCommonRoot.ts, 0, 15))
26 var x = enumdule.Red;
28 >enumdule.Red : Symbol(enumdule.Red, Decl(EnumAndModuleWithSameNameAndCommonRoot.ts, 0, 15))
30 >Red : Symbol(enumdule.Red, Decl(EnumAndModuleWithSameNameAndCommonRoot.ts, 0, 15))
DenumPropertyAccess.symbols5 Red,
6 >Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
12 var x = Colors.Red; // type of 'x' should be 'Colors'
14 >Colors.Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
16 >Red : Symbol(Colors.Red, Decl(enumPropertyAccess.ts, 0, 13))
DinvalidModuleWithStatementsOfEveryKind.types51 public enum Color { Blue, Red }
54 >Red : Color.Red
104 private enum Color { Blue, Red }
107 >Red : Color.Red
158 static enum Color { Blue, Red }
161 >Red : Color.Red
DenumUsedBeforeDeclaration.symbols16 enum Color { Red, Green, Blue }
18 >Red : Symbol(Color.Red, Decl(enumUsedBeforeDeclaration.ts, 2, 12))
22 const enum ConstColor { Red, Green, Blue }
24 >Red : Symbol(ConstColor.Red, Decl(enumUsedBeforeDeclaration.ts, 3, 23))
DexportCodeGen.types67 export enum Color { Red }
69 >Red : Color.Red
95 enum Color { Red }
97 >Red : Color.Red
DindexTypeCheck.symbols2 interface Red {
3 >Red : Symbol(Red, Decl(indexTypeCheck.ts, 0, 0))
25 [n:number]: Red; // ok
27 >Red : Symbol(Red, Decl(indexTypeCheck.ts, 0, 0))
29 [s:string]: Red; // ok
31 >Red : Symbol(Red, Decl(indexTypeCheck.ts, 0, 0))
DenumPropertyAccess.errors.txt1 …er/enumPropertyAccess.ts(7,11): error TS2339: Property 'Green' does not exist on type 'Colors.Red'.
7 Red,
11 var x = Colors.Red; // type of 'x' should be 'Colors'
14 !!! error TS2339: Property 'Green' does not exist on type 'Colors.Red'.
/third_party/typescript/tests/cases/compiler/
DerrorForUsingPropertyOfTypeAsType03.ts3 Red, enumerator
11 let a1: Color.Red.toString;
12 let a2: Color.Red["toString"];
19 let c1: C1.Red.toString;
20 let c2: C1.Red["toString"];
23 let d1: C2.Red.toString;
24 let d2: C2.Red["toString"];
/third_party/boost/libs/proto/example/
Drgb.cpp45 struct Red;
52 struct Red struct
56 , proto::plus<Red, Red>
63 proto::plus<Red, Blue>
64 , proto::plus<Blue, Red>
72 proto::plus<Red, Green>
73 , proto::plus<Green, Red>
81 proto::when< Red, RedTag() >
/third_party/typescript/tests/cases/conformance/enums/
DenumMerging.ts50 export enum Color { Red, Green, Blue } enumerator
53 export enum Color { Red, Green, Blue } enumerator
57 export enum Color { Red, Green, Blue } enumerator
64 t = A.Color.Red;

12345678910>>...26