| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| 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-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-definiton24.ts | 22 function C2() : C2 23 function C2() : C2 24 class C2 {}
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | char-type.sts | 17 let c2 : char = c'\u0002'; 22 assert c2 + c5 == c7; 25 assert c7 - c5 == c2; 28 assert c2 < c5; 32 assert -c2 == -2; 36 assert ~c2 == -3; 39 assert c5 / c2 == 2; 42 assert c5 % c2 == 1; 45 assert 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 Object()", op: "!=" } 23 - { c1: "c'a'", c2: "97n", op: "!=" }
|
| D | char_eq.sts | 26 let c2 = {{c.c2}} 27 assert c1 {{c.op}} c2 && c2 {{c.op}} c1 // test associativity
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | structural_identity.sts | 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.sts | 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…
|
| D | structural_identity_extended_inheritance.sts | 68 class C2<T> { 72 let c2 = new C2<number>(); 73 c1 = c2; // ERROR 74 c2 = c1; // ERROR
|
| /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.sts | 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_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+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/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/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/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/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 {
|
| /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/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_expect/basic_grammar/prop+strProp+top+export/04_class_cases/02_class_declaration/ |
| D | 02_extends_expected.txt | 31 c2(): number { 36 c2(): number { 42 assert(u1.c2() === 42); 50 assert(s1.c2() === 32);
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+top+export/04_class_cases/02_class_declaration/ |
| D | 02_extends_expected.txt | 31 c2(): number { 36 c2(): number { 42 assert(u1.c2() === 42); 50 assert(s1.c2() === 32);
|