/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | capturedLetConstInLoop1.ts | 96 for (let y = 0; y < 1; ++y) { variable 113 for (let x = 0, y = 1; x < 1; ++x) { variable 131 let x, y; variable 152 let x, y; variable 173 for (let y = 0; y < 1; ++y) { variable 194 for (let y = (use(() => y), 0); y < 1; ++y) { variable 197 for (let y = 0; use(() => y), y < 1; ++y) { variable 200 for (let y = 0; y < 1; use(() => y), ++y) { variable 203 for (let y = (use(() => y), 0); use(() => y), y < 1; use(() => y), ++y) { variable 286 for (const y = 0; y < 1;) { constant [all …]
|
D | controlFlowJavascript.ts | 46 const y = x; // string | number | undefined constant 73 const y = x; // string | number | undefined constant 100 const y = x; // string | number | null constant 126 const y = x; // string | number | undefined constant 153 const y = x; // string | number | undefined constant 180 const y = x; // string | number | null constant 206 const y = x; // string | number | undefined constant 240 const y = x; // string | number | undefined constant
|
D | capturedLetConstInLoop1_ES6.ts | 94 for (let y = 0; y < 1; ++y) { variable 111 for (let x = 0, y = 1; x < 1; ++x) { variable 129 let x, y; variable 150 let x, y; variable 171 for (let y = 0; y < 1; ++y) { variable 267 for (const y = 0; y < 1;) { constant 284 for (const x = 0, y = 1; x < 1;) { constant 302 const x = 1, y = 1; constant 325 const x = 1, y = 1; constant 348 for (const y = 0; y < 1;) { constant
|
D | protectedClassPropertyAccessibleWithinSubclass.ts | 29 protected get y() { method in C 36 protected set y(x) { this.y = this.x; method in C 64 protected static get y() { method in C 71 protected static set y(x) { this.y = this.x; method in C
|
D | EnumAndModuleWithSameNameAndCommonRoot.ts | 28 constructor(public x: number, public y: number) { } property in Point 39 let y: { x: number; y: number }; variable 44 let y = new enumdule.Point(0, 0); variable
|
D | protectedClassPropertyAccessibleWithinClass.ts | 90 protected get y() { () => this.x; method in C2 101 protected set y(x) { () => { this.y = this.x; } method in C2 124 protected static get y() { () => this.x; method in C2 135 protected static set y(x) { method in C2
|
D | mutrec.ts | 42 y:I2; property 46 y:I3; property 50 y:I1; property 74 y:I5; property 78 y:I4; property
|
D | overrideBaseIntersectionMethod.ts | 28 AssertType(class extends Base { getLocation(): [number, number] { const [x,y] = super.getLocati… constant 29 …: T) => class extends Base { getLocation(): [number, number] { const [x,y] = super.getLocation… constant 34 const [x,y] = super.getLocation(); constant 55 constructor(public x: number, public y: number) { } property in Point
|
D | capturedLetConstInLoop4.ts | 147 for (let y = 0; y < 1; ++y) { variable 170 for (let x = 0, y = 1; x < 1; ++x) { variable 194 let x, y; variable 221 let x, y; variable 248 for (let y = 0; y < 1; ++y) { variable 403 for (const y = 0; y < 1;) { constant 426 for (const x = 0, y = 1; x < 1;) { constant 450 const x = 1, y = 1; constant 479 const x = 1, y = 1; constant 508 for (const y = 0; y < 1;) { constant
|
D | capturedLetConstInLoop4_ES6.ts | 147 for (let y = 0; y < 1; ++y) { variable 170 for (let x = 0, y = 1; x < 1; ++x) { variable 194 let x, y; variable 221 let x, y; variable 248 for (let y = 0; y < 1; ++y) { variable 403 for (const y = 0; y < 1;) { constant 426 for (const x = 0, y = 1; x < 1;) { constant 450 const x = 1, y = 1; constant 479 const x = 1, y = 1; constant 508 for (const y = 0; y < 1;) { constant
|
D | exportImportAlias.ts | 44 let b: { x: number; y: number; } = new C.a.Point(0, 0); variable 71 constructor(public x: number, public y: number) { } property in Point 87 let n: { x: number; y: number; } = new Z.y.Point(0, 0); variable 102 export let y = 12; variable 105 y: number; property 124 let p: { x: number; y: number; variable
|
D | ModuleAndEnumWithSameNameAndCommonRoot.ts | 39 let y: { x: number; y: number }; variable 44 let y = new enumdule.Point(0, 0); variable
|
D | importAliasIdentifiers.ts | 37 let p: { x: number; y: number; }; variable 48 x: number; y: number; property 63 let p: { x: number; y: number; }; variable 80 x: number; y: number; property 95 let p: { x: number; y: number; }; variable
|
D | blockScopedBindingsReassignedInLoop2.ts | 46 for (let x = 1, y = 2; x < y; ++x, --y) { variable 72 for (let x = 1, y = 2; x < y; ++x, --y) { variable 99 for (let x = 1, y = 2; x < y; ++x, --y) { variable
|
D | nestedBlockScopedBindings14.ts | 33 let y; variable 37 let y; variable
|
D | nestedBlockScopedBindings8.ts | 30 let y; variable 33 for (let y; false; ) { variable
|
D | nestedBlockScopedBindings12.ts | 33 let y; variable 38 let y; variable
|
D | nestedBlockScopedBindings11.ts | 32 let y; variable 37 let y; variable
|
D | bestCommonTypeWithOptionalProperties.ts | 28 let y: Y; variable 35 let b1 = [x, y, z]; variable 42 let b2 = [x, z, y]; variable 63 let b5 = [z, x, y]; variable 70 let b6 = [z, y, x]; variable
|
D | arrayAugment.ts | 30 let y = x.split(4); variable 36 let y: string[][]; // Expect no error here variable
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsFunctionLikeClasses2/ |
D | source.js | 134 export function Point2D(x, y) { argument 169 …am {number} x */ set x(x) { this.storage[0] = x; }, get y() { return th… getter 170 …ype(Point2D.prototype = { __proto__: Vec, get x() { return this.storage[0]; }, … getter
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/requireTwoPropertyAccesses/ |
D | mod.js | 23 AssertType(module.exports = { x: { y: "value" }}, "{ x: { y: string; }; }"); property 25 AssertType({ x: { y: "value" }}, "{ x: { y: string; }; }"); property 29 AssertType({ y: "value" }, "{ y: string; }"); property
|
/arkcompiler/ets_runtime/test/moduletest/multiargs/ |
D | multiargs.js | 36 function two(x,y) argument 41 function three(x,y,z) argument 46 function four(x,y,z,t) argument 51 function five(x,y,z,t,a) argument 63 let y = 222 variable
|
/arkcompiler/runtime_core/compiler/tests/js/ |
D | regallocTryTest.js | 46 function func0(x, y) { argument 57 function func1(x, y) { argument 74 function func2(x, y) { argument
|
/arkcompiler/ets_runtime/test/moduletest/compareobjecthclass/ |
D | compareobjecthclass.js | 24 let obj1 = {x : 1, y : 2, z :3}; property 25 let obj2 = {y : 2, x : 1, z :3}; property 26 let obj3 = {x : 11, y : 12, z :13}; property
|