| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-class-definiton25.ts | 21 declare class C2 {} class 22 declare function C2() : C2 function 23 declare function C2() : C2 30 declare class C2 {} 31 declare function C2() : C2 32 declare function C2() : C2
|
| D | test-class-definiton23.ts | 21 declare function C2() : C2 function 22 declare function C2() : C2 23 declare class C2 {} 30 declare function C2() : C2 function 31 declare function C2() : C2 32 declare class C2 {}
|
| D | test-class-definiton24.ts | 22 function C2() : C2 23 function C2() : C2 24 class C2 {}
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | char-type.ets | 17 let c2 : char = c'\u0002'; 22 assertEQ(c2 + c5, c7) 25 assertEQ(c7 - c5, c2) 28 assertTrue(c2 < c5) 32 assertEQ(-c2, -2) 36 assertEQ(~c2, -3) 39 assertEQ(c5 / c2, 2) 42 assertEQ(c5 % c2, 1) 45 assertEQ(c5 << c2, 20) 48 arr[0] = c2; [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/bytecode/js/lexicalEnv/ |
| D | do-while-return-nosuper-expected.txt | 27 .function any .#~C2=#C2(any a0, any a1, any a2, any a3, any a4) { 34 definefunc 0x0, .#~C2=C2*#f7, 0x3 67 .function any .#~C2=C2*#f7(any a0, any a1, any a2, any a3, any a4, any a5) { 84 defineclasswithbuffer 0x3, .#~C2=#C2, _1, 0x2, v0 88 sttoglobalrecord 0x6, C2 89 tryldglobalbyname 0x7, C2 93 tryldglobalbyname 0x9, C2
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/01.numerical_equality_operators/ |
| D | char_eq.params.yaml | 17 - { c1: "c'\\u0000'", c2: "c'\\x00'", op: "==" } 18 - { c1: "c'\\r'", c2: "c'\\u000D'", op: "==" } 19 - { c1: "c'ㇰ'", c2: "c'\\u31f0'", op: "==" } 22 - { c1: "c'\\u22ff'", c2: "new Char(c1)", op: "==" } 23 - { c1: "new Char(c'A')", c2: "c'A'", op: "==" } 24 - { c1: "c'∓'", c2: "new Char(c'\\u2213')", op: "==" } 27 - { c1: "c'A'", c2: "c'А'", op: "!=" } 28 - { c1: "c'-'", c2: "new Char(c'−')", op: "!=" } 31 - { c1: "new Char(c'E')", c2: "c'Е'", op: "!=" } 32 - { c1: "c'\\x20'", c2: "new Char(c'_')", op: "!=" }
|
| D | char_eq_n.params.yaml | 17 - { c1: "c'\\u0000'", c2: "true", op: "==" } 19 - { c1: "false", c2: "c'\\u000D'", op: "!=" } 21 - { c1: "c'ㇰ'", c2: "new Error()", op: "!=" } 23 - { c1: "c'a'", c2: "97n", op: "!=" }
|
| D | char_eq.ets | 26 let c2 = {{c.c2}} 27 assertTrue( c1 {{c.op}} c2 && c2 {{c.op}} c1 ) // test associativity
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/re_export/diamond/ |
| D | C2-expected.txt | 15 "program": "C2.ets" 20 "program": "C2.ets" 35 "program": "C2.ets" 40 "program": "C2.ets" 52 "program": "C2.ets" 57 "program": "C2.ets" 65 "program": "C2.ets" 70 "program": "C2.ets" 79 "program": "C2.ets" 84 "program": "C2.ets" [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.subtype_to_supertype_conversions/ |
| D | subtype_to_supertype.params.yaml | 92 class C2 implements II2 {} 95 - "let b: II1|II2 = new C2()" 97 - "let b: I1|I2 = new C2()" 106 class C2 extends AA2 {} 109 - "let b: AA1|AA2 = new C2()" 111 - "let b: A1|A2 = new C2()" 116 class C2 {} 118 class CC2 extends C2 {} 122 - "let b: CC1|C2 = new A()" 125 - "let b: C1|C2 = new B()" [all …]
|
| /arkcompiler/ets_runtime/test/moduletest/stable_hclass/ |
| D | stable_hclass.js | 27 let c2 = new C(); 28 c2.x = 1; 33 assert_equal(ArkTools.isStableHClass(c2), false); 34 c2.z = 1; 35 assert_equal(ArkTools.isStableHClass(c2), true); 38 c2[`x${i}`] = 1; 39 assert_equal(ArkTools.isStableHClass(c2), true); 42 c2['x1023'] = 1; 43 assert_equal(ArkTools.isStableHClass(c2), false);
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | structural_identity.ets | 365 class C2<T> {} 369 type U3 = C1 | C2<number> | C2<string>; 370 type U4 = C1[] | C2<number>[] | C2<string>[]; 401 u3 as C2<number>; 402 u3 as C2<string>; 404 u3 as C1 | C2<number>; 405 u3 as C1 | C2<string>; 406 u3 as C2<number> | C2<string>; 408 u3 as C1 | C2<number> | C2<string>; 409 u3 as C2<string> | C2<number> | C1; [all …]
|
| D | limited_stdlib_api.ets | 126 class C2 { a: number } 129 const rec2: Record<string, number> = Object.assign(rec, new C2()); // OK 130 const rec3: C2 = Object.assign(rec, new C2()); // NOT OK, return type is '… 131 const rec4: Object = Object.assign(rec, new C2()); // NOT OK, return type is '… 132 …c5 = Object.assign(rec, new C2()); // NOT OK, return type is intersec… 133 …nst rec6: Record<string, Object> = Object.assign(new C2(), new C3()); // NOT OK, target type is 'C… 134 Object.assign(rec, new C2()); // NOT OK, no return (conte…
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/inline-property/ |
| D | inline-property5-expected.txt | 45 .function any .#~C2=#C2(any a0, any a1, any a2, any a3) { 65 .function any .#~C2>#g(any a0, any a1, any a2, any a3) { 78 .function any .#~C2>#instance_initializer(any a0, any a1, any a2) { 89 .function any .#~C2>#static_initializer(any a0, any a1, any a2) { 130 defineclasswithbuffer 0x4, .#~C2=#C2, _4, 0x1, v1 133 definemethod 0x7, .#~C2>#instance_initializer, 0x0 137 definemethod 0x8, .#~C2>#static_initializer, 0x0
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe52.md | 31 let c2 = new C() 32 c2.foo = bar 35 c2.foo() // bar 62 let c2 = new C() 64 c2.foo() // foo
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | genericDefaultParam_1.ets | 30 class C2 <T1, T2 = number, T3 = string> {} 31 let c1 = new C2<number> 32 let c2 = new C2<number, string> 33 let c3 = new C2<number, Object, number>
|
| /arkcompiler/ets_runtime/test/moduletest/decodeuricomponent/ |
| D | decodeuricomponent.js | 22 let uri="%c2%aa%66%55%58%c2%83%c2%93%00%c2%89%c3%96%08%58%c2%b4%c3%bd%46"; 24 assert_equal(encodeURIComponent(uri_encode), "%C2%AAfUX%C2%83%C2%93%00%C2%89%C3%96%08X%C2%B4%C3%BDF… 26 assert_equal(encodeURI(uri_encode), "%C2%AAfUX%C2%83%C2%93%00%C2%89%C3%96%08X%C2%B4%C3%BDF");
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.j(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.foo(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.j(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.foo(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.foo(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.foo(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/05_interface/ |
| D | 01_interface_03_expected.txt | 46 class C2 { 50 let c2 = new C2(); 51 assert(c2.j(2) === 2); 64 interface I4 extends C2, D, e {
|
| /arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/05_interface/ |
| D | 01_interface_03.ts | 58 class C2 { class 62 let c2 = new C2(); variable 63 assert(c2.foo(2) === 2) 79 interface I4 extends C2,D,e {
|