/third_party/typescript/tests/baselines/reference/ |
D | augmentedTypesClass.js | 7 class c4 { public foo() { } } class 8 enum c4 { One } // error 20 var c4 = /** @class */ (function () { function 21 function c4() { function 23 c4.prototype.foo = function () { }; 24 return c4; 26 (function (c4) { argument 27 c4[c4["One"] = 0] = "One"; 28 })(c4 || (c4 = {})); // error
|
D | declarationEmitDestructuringObjectLiteralPattern2.js | 7 var c4 = true; 8 return { a4, b4, c4 }; 10 var { a4, b4, c4 } = f15(); 13 export var { a4, b4, c4 } = f15(); 21 var c4 = true; 22 return { a4: a4, b4: b4, c4: c4 }; 24 var _c = f15(), a4 = _c.a4, b4 = _c.b4, c4 = _c.c4; variable 28 _a = f15(), m.a4 = _a.a4, m.b4 = _a.b4, m.c4 = _a.c4; 37 c4: boolean; 39 declare var a4: string, b4: number, c4: boolean; [all …]
|
D | declarationEmitDestructuringObjectLiteralPattern2.types | 24 >f15 : () => { a4: string; b4: number; c4: boolean; } 34 var c4 = true; 35 >c4 : boolean 38 return { a4, b4, c4 }; 39 >{ a4, b4, c4 } : { a4: string; b4: number; c4: boolean; } 42 >c4 : boolean 44 var { a4, b4, c4 } = f15(); 47 >c4 : boolean 48 >f15() : { a4: string; b4: number; c4: boolean; } 49 >f15 : () => { a4: string; b4: number; c4: boolean; } [all …]
|
D | es6ModuleClassDeclaration.symbols | 101 class c4 { 102 >c4 : Symbol(c4, Decl(es6ModuleClassDeclaration.ts, 51, 5)) 107 >x : Symbol(c4.x, Decl(es6ModuleClassDeclaration.ts, 54, 9)) 110 >y : Symbol(c4.y, Decl(es6ModuleClassDeclaration.ts, 55, 23)) 113 >k : Symbol(c4.k, Decl(es6ModuleClassDeclaration.ts, 56, 22)) 116 >l : Symbol(c4.l, Decl(es6ModuleClassDeclaration.ts, 57, 22)) 119 >method1 : Symbol(c4.method1, Decl(es6ModuleClassDeclaration.ts, 58, 30)) 122 >method2 : Symbol(c4.method2, Decl(es6ModuleClassDeclaration.ts, 60, 9)) 125 >method3 : Symbol(c4.method3, Decl(es6ModuleClassDeclaration.ts, 62, 9)) 128 >method4 : Symbol(c4.method4, Decl(es6ModuleClassDeclaration.ts, 64, 9)) [all …]
|
D | declarationEmitDestructuringObjectLiteralPattern.js | 15 var c4 = true; 16 return { a4, b4, c4 }; 18 var { a4, b4, c4 } = f15(); 21 export var { a4, b4, c4 } = f15(); 36 var c4 = true; 37 return { a4: a4, b4: b4, c4: c4 }; 39 var _f = f15(), a4 = _f.a4, b4 = _f.b4, c4 = _f.c4; variable 43 _a = f15(), m.a4 = _a.a4, m.b4 = _a.b4, m.c4 = _a.c4; 58 c4: boolean; 60 declare var a4: string, b4: number, c4: boolean; [all …]
|
D | literalTypeWidening.js | 11 const c4: "hello" = c1; // Type "hello" 12 let v4 = c4; // Type "hello" 19 const c4 = cond ? c3 : "baz"; // "foo" | "bar" | widening "baz" 20 const c5: "foo" | "bar" | "baz" = c4; // "foo" | "bar" | "baz" 24 let v4 = c4; // string 35 const c4: 123 = c1; // Type 123 36 let v4 = c4; // Type 123 43 const c4 = cond ? c3 : 789; // 123 | 456 | widening 789 44 const c5: 123 | 456 | 789 = c4; // 123 | 456 | 789 48 let v4 = c4; // number [all …]
|
D | es6ModuleClassDeclaration.js | 54 class c4 { 73 new c4(); 92 class c4 { 111 new c4(); 169 class c4 { class 183 c4.k = 20; 184 c4.l = 30; 188 new c4(); 209 class c4 { class 223 c4.k = 20; [all …]
|
D | constDeclarations.symbols | 9 const c3 = 0, c4 :string = "", c5 = null; 11 >c4 : Symbol(c4, Decl(constDeclarations.ts, 3, 13)) 15 for(const c4 = 0; c4 < 9; ) { break; } 16 >c4 : Symbol(c4, Decl(constDeclarations.ts, 6, 9)) 17 >c4 : Symbol(c4, Decl(constDeclarations.ts, 6, 9))
|
D | commentsClass.js | 15 class c4 { class 20 var i4 = new c4(); 21 var i4_c = c4; 93 var c4 = /** @class */ (function () { function 95 function c4() { function 97 return c4; 99 var i4 = new c4(); 100 var i4_c = c4; 162 declare class c4 { 166 declare var i4: c4; [all …]
|
D | augmentedTypesClass.symbols | 11 class c4 { public foo() { } } 12 >c4 : Symbol(c4, Decl(augmentedTypesClass.ts, 2, 11)) 13 >foo : Symbol(c4.foo, Decl(augmentedTypesClass.ts, 5, 10)) 15 enum c4 { One } // error 16 >c4 : Symbol(c4, Decl(augmentedTypesClass.ts, 5, 29)) 17 >One : Symbol(c4.One, Decl(augmentedTypesClass.ts, 6, 9))
|
D | constDeclarations.js | 5 const c3 = 0, c4 :string = "", c5 = null; constant 8 for(const c4 = 0; c4 < 9; ) { break; } 17 const c3 = 0, c4 = "", c5 = null; constant 18 for (const c4 = 0; c4 < 9;) { 29 declare const c3 = 0, c4: string, c5: any;
|
D | es6ModuleClassDeclaration.types | 115 class c4 { 116 >c4 : c4 161 new c4(); 162 >new c4() : c4 163 >c4 : typeof c4 202 class c4 { 203 >c4 : c4 248 new c4(); 249 >new c4() : c4 250 >c4 : typeof c4
|
D | declarationEmitDestructuringObjectLiteralPattern.types | 85 >f15 : () => { a4: string; b4: number; c4: boolean; } 95 var c4 = true; 96 >c4 : boolean 99 return { a4, b4, c4 }; 100 >{ a4, b4, c4 } : { a4: string; b4: number; c4: boolean; } 103 >c4 : boolean 105 var { a4, b4, c4 } = f15(); 108 >c4 : boolean 109 >f15() : { a4: string; b4: number; c4: boolean; } 110 >f15 : () => { a4: string; b4: number; c4: boolean; } [all …]
|
D | augmentedTypesClass.types | 12 class c4 { public foo() { } } 13 >c4 : c4 16 enum c4 { One } // error 17 >c4 : c4 18 >One : c4.One
|
D | commentsFormatting.js | 84 export class c4 { 181 var c4 = /** @class */ (function () { function 182 function c4() { function 184 return c4; 186 m.c4 = c4; 270 class c4 { class
|
D | declarationEmitDestructuringObjectLiteralPattern2.symbols | 26 var c4 = true; 27 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 5, 7)) 29 return { a4, b4, c4 }; 32 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 6, 20)) 34 var { a4, b4, c4 } = f15(); 37 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 8, 13)) 43 export var { a4, b4, c4 } = f15(); 46 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern2.ts, 11, 24))
|
D | constDeclarations.types | 11 const c3 = 0, c4 :string = "", c5 = null; 14 >c4 : string 20 for(const c4 = 0; c4 < 9; ) { break; } 21 >c4 : 0 23 >c4 < 9 : boolean 24 >c4 : 0
|
D | commentsClass.types | 33 class c4 { 34 >c4 : c4 40 var i4 = new c4(); 41 >i4 : c4 42 >new c4() : c4 43 >c4 : typeof c4 45 var i4_c = c4; 46 >i4_c : typeof c4 47 >c4 : typeof c4
|
D | staticPrototypePropertyOnClass.types | 14 class c4 { 15 >c4 : c4 39 var d = c4; 40 >d : typeof c4 41 >c4 : typeof c4
|
D | templateLiteralTypes2.js | 6 const c4 = `abc${t}`; // `abc${T} constant 24 const c4: `abc${string}` = c1; // Type `abc${string}` constant 25 let v4 = c4; // Type `abc${string}` 32 const c4 = cond ? c3 : `baz${s}`; // `foo${string}` | `bar${string}` | widening `baz${string}` constant 33 …const c5: `foo${string}` | `bar${string}` | `baz${string}` = c4; // `foo${string}` | `bar${string}… 37 let v4 = c4; // string 48 const c4 = <`foo${string}`>`foo${s}`; constant 49 let v4 = c4; 108 var c4 = "abc" + t; // `abc${T} 124 var c4 = c1; // Type `abc${string}` [all …]
|
D | staticPrototypePropertyOnClass.js | 10 class c4 { class 19 var d = c4; 37 var c4 = /** @class */ (function () { function 38 function c4(param) { function 40 return c4; 45 var d = c4;
|
D | declarationEmitDestructuringObjectLiteralPattern.symbols | 66 var c4 = true; 67 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern.ts, 13, 7)) 69 return { a4, b4, c4 }; 72 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern.ts, 14, 20)) 74 var { a4, b4, c4 } = f15(); 77 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern.ts, 16, 13)) 83 export var { a4, b4, c4 } = f15(); 86 >c4 : Symbol(c4, Decl(declarationEmitDestructuringObjectLiteralPattern.ts, 19, 24))
|
/third_party/typescript/tests/cases/conformance/types/literal/ |
D | literalTypeWidening.ts | 10 const c4: "hello" = c1; // Type "hello" constant 11 let v4 = c4; // Type "hello" 18 const c4 = cond ? c3 : "baz"; // "foo" | "bar" | widening "baz" constant 19 const c5: "foo" | "bar" | "baz" = c4; // "foo" | "bar" | "baz" 23 let v4 = c4; // string 34 const c4: 123 = c1; // Type 123 constant 35 let v4 = c4; // Type 123 42 const c4 = cond ? c3 : 789; // 123 | 456 | widening 789 constant 43 const c5: 123 | 456 | 789 = c4; // 123 | 456 | 789 47 let v4 = c4; // number [all …]
|
D | templateLiteralTypes2.ts | 8 const c4 = `abc${t}`; // `abc${T} constant 26 const c4: `abc${string}` = c1; // Type `abc${string}` constant 27 let v4 = c4; // Type `abc${string}` 34 const c4 = cond ? c3 : `baz${s}`; // `foo${string}` | `bar${string}` | widening `baz${string}` constant 35 …const c5: `foo${string}` | `bar${string}` | `baz${string}` = c4; // `foo${string}` | `bar${string}… 39 let v4 = c4; // string 50 const c4 = <`foo${string}`>`foo${s}`; constant 51 let v4 = c4;
|
/third_party/libffi/testsuite/libffi.complex/ |
D | return_complex1.inc | 5 …_Complex T_C_TYPE return_c(_Complex T_C_TYPE c1, float fl2, unsigned int in3, _Complex T_C_TYPE c4) 7 return c1 + fl2 + in3 + c4; 14 _Complex T_C_TYPE c1, c4, rc, rc2; 24 values[3] = &c4; 32 c4 = 512.7 + 1024.1 * I; 35 rc2 = return_c(c1, fl2, in3, c4);
|