| /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.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 …]
|
| D | const_enum.sts | 23 let c2 = Comparison.EqualTo; 24 assert(c2 == Comparison.EqualTo); 25 assert(c2.valueOf() == 0);
|
| D | nestedLambdaConst.sts | 24 const c2 = c1; 26 const c3 = c2; 29 return c1 + c2 + c3 + c4;
|
| /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
|
| D | char_eq_n.sts | 27 let c2 = {{c.c2}} 28 assert c1 {{c.op}} c2
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| 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…
|
| /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_runtime/test/moduletest/decodeuricomponent/ |
| D | expect_output.txt | 14 %C2%AAfUX%C2%83%C2%93%00%C2%89%C3%96%08X%C2%B4%C3%BDF
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/ |
| D | test-ts-private-class-element-7.ts | 24 class C2 { class 25 static s = C2.#method(); 28 print(C2.s);
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/ |
| D | import_obfuscation_1_expected.txt | 16 let c2 = new i(); 17 const d2: string = c2.name; 18 const e2: number = c2.j;
|
| /arkcompiler/ets_runtime/test/aottest/nested_try_emptycatch_finally/ |
| D | nested_try_emptycatch_finally.ts | 16 class C2 { class 28 new C2(1073741824); 29 print(ArkTools.isAOTCompiled(C2));
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/15.Semantic_Rules/Compatibility_Features/Extended_Conditional_Expressions/nullish_expr/expr/ |
| D | nonnull-object-expression-4.sts | 26 class C2 { 33 let objectC2: C2 = new C2();
|
| D | nonnull-object-expression-8.sts | 26 class C2 { 33 let objectC2: C2 = new C2();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/01.character_type_and_literals/01.character_literals/ |
| D | char_literals_spec_examples.sts | 22 let c2 = c'\n' 27 let c2b = new Char(c2) 32 assert c2b.unboxed() == c2
|
| /arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule5/ |
| D | not_meet_rule5.ts | 58 class C2 { class 65 let c2 = new C2(); variable 66 print(c2.isPrototypeOf);
|
| /arkcompiler/ets_runtime/test/aottest/vtable/not_inherit_info/not_meet_rule3/ |
| D | not_meet_rule3.ts | 67 class C2 { class 73 let c2 = new C2(); variable 74 print(c2.isPrototypeOf);
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/09.constant_string_to_char_conversion/ |
| D | str2char.params.yaml | 37 const c2: char = "\uFFFF" + "" 38 assert c2 == c'\uFFFF' 52 c2: char = "\uCAFE" + "" 59 assert a.c2 == c'\uCAFE' 90 c2: char 99 a.c2 = "\uFFFF" + "" 100 assert a.c2 == c'\uFFFF'
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule30_4.sts | 36 class C2 implements Z, Z1 { 42 this.bar = "Class C2"; 47 let y1: Z1 = new C2()
|