/third_party/typescript/tests/baselines/reference/ |
D | typeGuardsOnClassProperty.types | 61 >o : { prop1: number | string; prop2: boolean | string; } 63 prop1: number|string; 64 >prop1 : string | number 70 >{ prop1: "string" , prop2: true } : { prop1: string; prop2: true; } 72 prop1: "string" , 73 >prop1 : string 81 if (typeof o.prop1 === "string" && o.prop1.toLowerCase()) {} 82 >typeof o.prop1 === "string" && o.prop1.toLowerCase() : string 83 >typeof o.prop1 === "string" : boolean 84 >typeof o.prop1 : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | … [all …]
|
D | typeGuardsOnClassProperty.symbols | 51 prop1: number|string; 52 >prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 17, 8)) 58 prop1: "string" , 59 >prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 20, 5)) 65 if (typeof o.prop1 === "string" && o.prop1.toLowerCase()) {} 66 >o.prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 17, 8)) 68 >prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 17, 8)) 69 >o.prop1.toLowerCase : Symbol(String.toLowerCase, Decl(lib.es5.d.ts, --, --)) 70 >o.prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 17, 8)) 72 >prop1 : Symbol(prop1, Decl(typeGuardsOnClassProperty.ts, 17, 8)) [all …]
|
D | divergentAccessorsTypes4.types | 5 get prop1(): string { return ""; } 6 >prop1 : string 9 set prop1(s: string | number) { } 10 >prop1 : string 20 get prop1(): "hello" { return "hello"; } 21 >prop1 : "hello" 24 set prop1(s: "hello" | number) { } 25 >prop1 : "hello" 42 i.prop1; 43 >i.prop1 : "hello" [all …]
|
D | typeGuardsOnClassProperty.js | 20 prop1: number|string; 23 prop1: "string" , 27 if (typeof o.prop1 === "string" && o.prop1.toLowerCase()) {} 28 var prop1 = o.prop1; 29 if (typeof prop1 === "string" && prop1.toLocaleLowerCase()) { } 49 prop1: "string", 52 if (typeof o.prop1 === "string" && o.prop1.toLowerCase()) { } 53 var prop1 = o.prop1; 54 if (typeof prop1 === "string" && prop1.toLocaleLowerCase()) { }
|
D | divergentAccessorsTypes5.types | 8 get prop1(): string { return ""; } 9 >prop1 : string 12 set prop1(s: string | number) { } 13 >prop1 : string 23 get prop1(): "hello" { return "hello"; } 24 >prop1 : "hello" 27 set prop1(s: "hello" | number) { } 28 >prop1 : "hello" 44 get prop1(): "hello" { return "hello"; } 45 >prop1 : "hello" [all …]
|
D | divergentAccessorsTypes4.symbols | 5 get prop1(): string { return ""; } 6 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes4.ts, 0, 11), Decl(divergentAccessorsTypes4.… 8 set prop1(s: string | number) { } 9 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes4.ts, 0, 11), Decl(divergentAccessorsTypes4.… 19 get prop1(): "hello" { return "hello"; } 20 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes4.ts, 7, 11), Decl(divergentAccessorsTypes4.… 22 set prop1(s: "hello" | number) { } 23 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes4.ts, 7, 11), Decl(divergentAccessorsTypes4.… 41 i.prop1; 42 >i.prop1 : Symbol(prop1, Decl(divergentAccessorsTypes4.ts, 0, 11), Decl(divergentAccessorsTypes4.ts… [all …]
|
D | divergentAccessorsTypes5.symbols | 8 get prop1(): string { return ""; } 9 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes5.ts, 3, 11), Decl(divergentAccessorsTypes5.… 11 set prop1(s: string | number) { } 12 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes5.ts, 3, 11), Decl(divergentAccessorsTypes5.… 22 get prop1(): "hello" { return "hello"; } 23 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes5.ts, 10, 11), Decl(divergentAccessorsTypes5… 25 set prop1(s: "hello" | number) { } 26 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes5.ts, 10, 11), Decl(divergentAccessorsTypes5… 41 get prop1(): "hello" { return "hello"; } 42 >prop1 : Symbol(Three.prop1, Decl(divergentAccessorsTypes5.ts, 19, 13), Decl(divergentAccessorsType… [all …]
|
D | divergentAccessorsTypes4.js | 3 get prop1(): string { return ""; } 4 set prop1(s: string | number) { } 10 get prop1(): "hello" { return "hello"; } 11 set prop1(s: "hello" | number) { } 21 i.prop1; 23 i.prop1 = 42; 24 i.prop1 = "hello"; 63 i.prop1; 65 i.prop1 = 42; 66 i.prop1 = "hello";
|
D | divergentAccessorsTypes3.types | 5 get prop1(): string { return ""; } 6 >prop1 : string 9 set prop1(s: string | number) { } 10 >prop1 : string 36 get prop1(): string { return ""; } 37 >prop1 : string 40 set prop1(s: string | number) { } 41 >prop1 : string 72 u1.prop1 = 42; 73 >u1.prop1 = 42 : 42 [all …]
|
D | divergentAccessorsTypes5.js | 6 get prop1(): string { return ""; } 7 set prop1(s: string | number) { } 13 get prop1(): "hello" { return "hello"; } 14 set prop1(s: "hello" | number) { } 22 get prop1(): "hello" { return "hello"; } 23 set prop1(s: "hello" | boolean) { } 32 i.prop1 = 42; // error 33 i.prop1 = "hello"; 89 i.prop1 = 42; // error 90 i.prop1 = "hello";
|
D | referencesForInheritedProperties9.baseline.jsonc | 3 // /*FIND ALL REFS*/[|prop1|]: string; 7 // prop1: string; 11 // c.prop1; 20 "name": "(property) D.prop1: string", 51 "text": "prop1", 92 // prop1: string; 96 // /*FIND ALL REFS*/[|prop1|]: string; 100 // c.[|prop1|]; 109 "name": "(property) C.prop1: string", 140 "text": "prop1", [all …]
|
D | findAllRefsForComputedProperties.baseline.jsonc | 3 // ["/*FIND ALL REFS*/[|prop1|]"]: () => void; 7 // ["[|prop1|]"]: any; 11 // ["[|prop1|]"]: function () { }, 21 "name": "(property) I[\"prop1\"]: () => void", 52 "text": "\"prop1\"", 132 "name": "(property) C[\"prop1\"]: any", 163 "text": "\"prop1\"", 208 // ["[|prop1|]"]: () => void; 212 // ["/*FIND ALL REFS*/[|prop1|]"]: any; 216 // ["[|prop1|]"]: function () { }, [all …]
|
D | divergentAccessorsTypes3.symbols | 5 get prop1(): string { return ""; } 6 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes3.ts, 0, 11), Decl(divergentAccessorsTypes3.… 8 set prop1(s: string | number) { } 9 >prop1 : Symbol(One.prop1, Decl(divergentAccessorsTypes3.ts, 0, 11), Decl(divergentAccessorsTypes3.… 33 get prop1(): string { return ""; } 34 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes3.ts, 13, 11), Decl(divergentAccessorsTypes3… 36 set prop1(s: string | number) { } 37 >prop1 : Symbol(Two.prop1, Decl(divergentAccessorsTypes3.ts, 13, 11), Decl(divergentAccessorsTypes3… 67 u1.prop1 = 42; 68 >u1.prop1 : Symbol(prop1, Decl(divergentAccessorsTypes3.ts, 0, 11), Decl(divergentAccessorsTypes3.t… [all …]
|
D | quotedPropertyName3.types | 5 "prop1": number; 6 >"prop1" : number 11 var x = () => this["prop1"]; 13 >() => this["prop1"] : () => number 14 >this["prop1"] : number 16 >"prop1" : "prop1"
|
D | divergentAccessorsTypes4.errors.txt | 6 get prop1(): string { return ""; } 7 set prop1(s: string | number) { } 13 get prop1(): "hello" { return "hello"; } 14 set prop1(s: "hello" | number) { } 24 i.prop1; 26 i.prop1 = 42; 27 i.prop1 = "hello";
|
D | divergentAccessorsTypes5.errors.txt | 10 get prop1(): string { return ""; } 11 set prop1(s: string | number) { } 17 get prop1(): "hello" { return "hello"; } 18 set prop1(s: "hello" | number) { } 26 get prop1(): "hello" { return "hello"; } 27 set prop1(s: "hello" | boolean) { } 36 i.prop1 = 42; // error 39 i.prop1 = "hello";
|
D | divergentAccessorsTypes3.js | 3 get prop1(): string { return ""; } 4 set prop1(s: string | number) { } 16 get prop1(): string { return ""; } 17 set prop1(s: string | number) { } 31 u1.prop1 = 42; 32 u1.prop1 = "hello"; 99 u1.prop1 = 42; 100 u1.prop1 = "hello";
|
D | quotedPropertyName3.symbols | 5 "prop1": number; 6 >"prop1" : Symbol(Test["prop1"], Decl(quotedPropertyName3.ts, 0, 12)) 11 var x = () => this["prop1"]; 14 >"prop1" : Symbol(Test["prop1"], Decl(quotedPropertyName3.ts, 0, 12))
|
D | objectLiteralThisWidenedOnUse.types | 6 >GlobalIns : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boo… 7 … prop1: 1, prop2: 2, prop3: 3, test () { this.accept_foo(this); }, accept_foo (foo: Foo): … 9 prop1: 1, 10 >prop1 : number 27 >this : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean;… 29 >this : { prop1: number; prop2: number; prop3: number; test(): void; accept_foo(foo: Foo): boolean;…
|
D | noCollisionThisExpressionAndLocalVarInProperty.symbols | 5 public prop1 = { 6 >prop1 : Symbol(class1.prop1, Decl(noCollisionThisExpressionAndLocalVarInProperty.ts, 0, 14)) 29 public prop1 = { 30 >prop1 : Symbol(class2.prop1, Decl(noCollisionThisExpressionAndLocalVarInProperty.ts, 12, 5))
|
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/ |
D | typeGuardsOnClassProperty.ts | 19 prop1: number|string; 22 prop1: "string" , 26 if (typeof o.prop1 === "string" && o.prop1.toLowerCase()) {} 27 var prop1 = o.prop1; variable 28 if (typeof prop1 === "string" && prop1.toLocaleLowerCase()) { }
|
/third_party/typescript/tests/cases/compiler/ |
D | divergentAccessorsTypes5.ts | 7 get prop1(): string { return ""; } method in One 8 set prop1(s: string | number) { } method in One 14 get prop1(): "hello" { return "hello"; } method in Two 15 set prop1(s: "hello" | number) { } method in Two 23 get prop1(): "hello" { return "hello"; } method in Three 24 set prop1(s: "hello" | boolean) { } method in Three 33 i.prop1 = 42; // error 34 i.prop1 = "hello";
|
D | divergentAccessorsTypes4.ts | 4 get prop1(): string { return ""; } method in One 5 set prop1(s: string | number) { } method in One 11 get prop1(): "hello" { return "hello"; } method in Two 12 set prop1(s: "hello" | number) { } method in Two 22 i.prop1; 24 i.prop1 = 42; 25 i.prop1 = "hello";
|
D | divergentAccessorsTypes3.ts | 4 get prop1(): string { return ""; } method in One 5 set prop1(s: string | number) { } method in One 17 get prop1(): string { return ""; } method in Two 18 set prop1(s: string | number) { } method in Two 32 u1.prop1 = 42; 33 u1.prop1 = "hello";
|
/third_party/gstreamer/gstreamer/docs/random/slomo/ |
D | controller.txt | 47 GstValueArray prop1; 48 prop1.property_name = "prop1"; 53 prop1.nbsamples = nvalues; 54 prop1.sample_interval = control-period; 55 prop1.values = g_new (type, nvalues); 56 gst_controller_get_value_array (ctrl, GST_BUFFER_TIMESTAMP, &prop1); 58 prop1.values = &self->prop1; 64 prop1_val = prop1.values[i / samples_per_period]; 71 g_free (prop1.values);
|