/third_party/typescript/tests/baselines/reference/ |
D | enumMergingErrors.js | 4 export enum E1 { A = 0 } 9 export enum E1 { B = 'foo'.length } 14 export enum E1 { C } 21 export enum E1 { A = 0 } 24 export enum E1 { B } 27 export enum E1 { C } 33 export enum E1 { A } 36 export enum E1 { B = 0 } 39 export enum E1 { C } 49 var E1; [all …]
|
D | typeArgumentInferenceWithObjectLiteral.types | 58 enum E1 { X } 59 >E1 : E1 60 >X : E1.X 93 var v1 = f1({ w: x => x, r: () => 0 }, E1.X); 95 >f1({ w: x => x, r: () => 0 }, E1.X) : number 105 >E1.X : E1 106 >E1 : typeof E1 107 >X : E1 109 var v1 = f1({ w: x => x, r: () => E1.X }, 0); 111 >f1({ w: x => x, r: () => E1.X }, 0) : number [all …]
|
D | forwardRefInEnum.types | 2 enum E1 { 3 >E1 : E1 8 >X : E1 9 >Y : E1 11 X1 = E1["Y"], 12 >X1 : E1 13 >E1["Y"] : E1 14 >E1 : typeof E1 18 Y = E1.Z, 19 >Y : E1 [all …]
|
D | forwardRefInEnum.js | 2 enum E1 { 6 X1 = E1["Y"], 8 Y = E1.Z, 9 Y1 = E1["Z"] 12 enum E1 { 18 var E1; 19 (function (E1) { argument 22 E1[E1["X"] = 0] = "X"; 23 E1[E1["X1"] = 0] = "X1"; 25 E1[E1["Y"] = 0] = "Y"; [all …]
|
D | enumMergingErrors.types | 6 export enum E1 { A = 0 } 7 >E1 : E1 8 >A : E1 23 export enum E1 { B = 'foo'.length } 24 >E1 : E1 25 >B : E1 44 export enum E1 { C } 45 >E1 : E1 46 >C : E1 65 export enum E1 { A = 0 } [all …]
|
D | forwardRefInEnum.symbols | 2 enum E1 { 3 >E1 : Symbol(E1, Decl(forwardRefInEnum.ts, 0, 0), Decl(forwardRefInEnum.ts, 8, 1)) 8 >X : Symbol(E1.X, Decl(forwardRefInEnum.ts, 0, 9)) 9 >Y : Symbol(E1.Y, Decl(forwardRefInEnum.ts, 4, 17)) 11 X1 = E1["Y"], 12 >X1 : Symbol(E1.X1, Decl(forwardRefInEnum.ts, 3, 10)) 13 >E1 : Symbol(E1, Decl(forwardRefInEnum.ts, 0, 0), Decl(forwardRefInEnum.ts, 8, 1)) 14 >"Y" : Symbol(E1.Y, Decl(forwardRefInEnum.ts, 4, 17)) 17 Y = E1.Z, 18 >Y : Symbol(E1.Y, Decl(forwardRefInEnum.ts, 4, 17)) [all …]
|
D | bestCommonTypeOfTuple.types | 17 enum E1 { one } 18 >E1 : E1 19 >one : E1.one 31 var t2: [E1, E2]; 32 >t2 : [E1, E2] 37 var t4: [E1, E2, number]; 38 >t4 : [E1, E2, number] 48 t2 = [E1.one, E2.two]; 49 >t2 = [E1.one, E2.two] : [E1, E2] 50 >t2 : [E1, E2] [all …]
|
D | enumBasics3.types | 8 export enum E1 { 9 >E1 : E1 12 >a : E1 16 >b : E1 18 >a : E1 33 b = M.N.E1.a, 35 >M.N.E1.a : E1 36 >M.N.E1 : typeof E1 40 >E1 : typeof E1 41 >a : E1 [all …]
|
D | parserEnum5.js | 4 enum E1 { a, b: 1, c, d: 2 = 3 } 16 var E1; variable 17 (function (E1) { argument 18 E1[E1["a"] = 0] = "a"; 19 E1[E1["b"] = 1] = "b"; 20 E1[E1[1] = 2] = 1; 21 E1[E1["c"] = 3] = "c"; 22 E1[E1["d"] = 4] = "d"; 23 E1[E1[2] = 3] = 2; 24 })(E1 || (E1 = {}));
|
D | constantEnumAssert.types | 2 enum E1 { 3 >E1 : E1 6 >a : E1.a 9 >b : E1.b 67 const foo1 = { a: E1.a } 68 >foo1 : { a: E1; } 69 >{ a: E1.a } : { a: E1; } 70 >a : E1 71 >E1.a : E1.a 72 >E1 : typeof E1 [all …]
|
D | amdImportAsPrimaryExpression.js | 4 export enum E1 { 10 if(foo.E1.A === 0){ 19 exports.E1 = void 0; 20 var E1; 21 (function (E1) { argument 22 E1[E1["A"] = 0] = "A"; 23 E1[E1["B"] = 1] = "B"; 24 E1[E1["C"] = 2] = "C"; 25 })(E1 = exports.E1 || (exports.E1 = {})); 31 if (foo.E1.A === 0) {
|
D | enumBasics.types | 3 enum E1 { 4 >E1 : E1 7 >A : E1.A 10 >B : E1.B 13 >C : E1.C 17 var x: number = E1.A; 19 >E1.A : E1.A 20 >E1 : typeof E1 21 >A : E1.A 24 var e = E1; [all …]
|
D | enumMergingErrors.symbols | 6 export enum E1 { A = 0 } 7 >E1 : Symbol(E1, Decl(enumMergingErrors.ts, 1, 10), Decl(enumMergingErrors.ts, 6, 10), Decl(enumMer… 8 >A : Symbol(E1.A, Decl(enumMergingErrors.ts, 2, 20)) 21 export enum E1 { B = 'foo'.length } 22 >E1 : Symbol(E1, Decl(enumMergingErrors.ts, 1, 10), Decl(enumMergingErrors.ts, 6, 10), Decl(enumMer… 23 >B : Symbol(E1.B, Decl(enumMergingErrors.ts, 7, 20)) 40 export enum E1 { C } 41 >E1 : Symbol(E1, Decl(enumMergingErrors.ts, 1, 10), Decl(enumMergingErrors.ts, 6, 10), Decl(enumMer… 42 >C : Symbol(E1.C, Decl(enumMergingErrors.ts, 12, 20)) 59 export enum E1 { A = 0 } [all …]
|
D | enumBasics3.symbols | 8 export enum E1 { 9 >E1 : Symbol(E1, Decl(enumBasics3.ts, 1, 22)) 12 >a : Symbol(E1.a, Decl(enumBasics3.ts, 2, 20)) 15 >b : Symbol(E1.b, Decl(enumBasics3.ts, 3, 12)) 16 >a : Symbol(E1.a, Decl(enumBasics3.ts, 2, 20)) 30 b = M.N.E1.a, 32 >M.N.E1.a : Symbol(E1.a, Decl(enumBasics3.ts, 2, 20)) 33 >M.N.E1 : Symbol(E1, Decl(enumBasics3.ts, 1, 22)) 37 >E1 : Symbol(E1, Decl(enumBasics3.ts, 1, 22)) 38 >a : Symbol(E1.a, Decl(enumBasics3.ts, 2, 20)) [all …]
|
D | exportAssignmentAndDeclaration.js | 2 export enum E1 { 16 exports.E1 = void 0; 17 var E1; 18 (function (E1) { argument 19 E1[E1["A"] = 0] = "A"; 20 E1[E1["B"] = 1] = "B"; 21 E1[E1["C"] = 2] = "C"; 22 })(E1 = exports.E1 || (exports.E1 = {}));
|
D | enumBasics.js | 3 enum E1 { 10 var x: number = E1.A; 13 var e = E1; 15 readonly A: E1.A; 16 readonly B: E1.B; 17 readonly C: E1.C; 20 var e: typeof E1; 23 var s = E1[e.A]; 85 var E1; variable 86 (function (E1) { argument [all …]
|
D | amdImportAsPrimaryExpression.types | 5 if(foo.E1.A === 0){ 6 >foo.E1.A === 0 : boolean 7 >foo.E1.A : foo.E1.A 8 >foo.E1 : typeof foo.E1 10 >E1 : typeof foo.E1 11 >A : foo.E1.A 18 export enum E1 { 19 >E1 : E1 22 >A : E1.A 23 >B : E1.B [all …]
|
D | typeArgumentInferenceWithObjectLiteral.js | 21 enum E1 { X } 30 var v1 = f1({ w: x => x, r: () => 0 }, E1.X); 31 var v1 = f1({ w: x => x, r: () => E1.X }, 0); 33 var v2: E1; 34 var v2 = f1({ w: x => x, r: () => E1.X }, E1.X); 36 var v3 = f1({ w: x => x, r: () => E1.X }, E2.X); // Error 51 var E1; variable 52 (function (E1) { argument 53 E1[E1["X"] = 0] = "X"; 54 })(E1 || (E1 = {})); [all …]
|
D | numericEnumMappedType.js | 4 enum E1 { ONE, TWO, THREE } 7 type Bins1 = { [k in E1]?: string; } 13 const e1: E1 = E1.ONE; 43 var E1; variable 44 (function (E1) { argument 45 E1[E1["ONE"] = 0] = "ONE"; 46 E1[E1["TWO"] = 1] = "TWO"; 47 E1[E1["THREE"] = 2] = "THREE"; 48 })(E1 || (E1 = {})); 51 var e1 = E1.ONE; [all …]
|
D | enumBasics3.js | 4 export enum E1 { 14 b = M.N.E1.a, 15 c = M.N.E1.a.a, // should error 26 var E1; 27 (function (E1) { argument 28 E1[E1["a"] = 1] = "a"; 29 E1[E1["b"] = E1.a.a] = "b"; 30 })(E1 = N.E1 || (N.E1 = {})); 39 E2[E2["c"] = M.N.E1.a.a] = "c";
|
D | commonJSImportNotAsPrimaryExpression.js | 20 export enum E1 { 32 var e: number = <foo.E1>0; 37 exports.E1 = exports.C1 = void 0; 46 var E1; variable 47 (function (E1) { argument 48 E1[E1["A"] = 0] = "A"; 49 E1[E1["B"] = 1] = "B"; 50 E1[E1["C"] = 2] = "C"; 51 })(E1 = exports.E1 || (exports.E1 = {}));
|
D | equalityWithEnumTypes.types | 3 enum E1 { 4 >E1 : E1 7 >a : E1.a 11 >b : E1.b 32 function f1(v: E1) { 33 >f1 : (v: E1) => void 34 >v : E1 38 >v : E1 42 >v : E1 46 >v : E1 [all …]
|
D | amdImportNotAsPrimaryExpression.js | 20 export enum E1 { 32 var e: number = <foo.E1>0; 38 exports.E1 = exports.C1 = void 0; 47 var E1; 48 (function (E1) { argument 49 E1[E1["A"] = 0] = "A"; 50 E1[E1["B"] = 1] = "B"; 51 E1[E1["C"] = 2] = "C"; 52 })(E1 = exports.E1 || (exports.E1 = {}));
|
D | computedPropertyNames47_ES6.types | 2 enum E1 { x } 3 >E1 : E1 4 >x : E1.x 12 >{ [E1.x || E2.x]: 0} : { 0: number; } 14 [E1.x || E2.x]: 0 15 >[E1.x || E2.x] : number 16 >E1.x || E2.x : E2 17 >E1.x : E1 18 >E1 : typeof E1 19 >x : E1
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
D | _swizzle.hpp | 23 … T, precision P, template <typename, precision> class vecType, int E0, int E1, int E2, int E3, boo… 28 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, b… 29 struct _swizzle_base1<2, T, P, vecType, E0,E1,-1,-2, Aligned> : public _swizzle_base0<T, 2> 31 …LIFIER vecType<T, P> operator ()() const { return vecType<T, P>(this->elem(E0), this->elem(E1)); } in operator ()() 34 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, i… 35 struct _swizzle_base1<3, T, P, vecType, E0,E1,E2,-1, Aligned> : public _swizzle_base0<T, 3> 37 …, P> operator ()() const { return vecType<T, P>(this->elem(E0), this->elem(E1), this->elem(E2)); } in operator ()() 40 …template <typename T, precision P, template <typename, precision> class vecType, int E0, int E1, i… 41 struct _swizzle_base1<4, T, P, vecType, E0,E1,E2,E3, Aligned> : public _swizzle_base0<T, 4> 43 … P> operator ()() const { return vecType<T, P>(this->elem(E0), this->elem(E1), this->elem(E2), th… in operator ()() [all …]
|