Home
last modified time | relevance | path

Searched full:c2 (Results 1 – 25 of 138) sorted by relevance

123456

/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definiton25.ts21 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
Dtest-class-definiton23.ts21 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 {}
Dtest-class-definiton24.ts22 function C2() : C2
23 function C2() : C2
24 class C2 {}
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
Dchar-type.sts17 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 …]
Dconst_enum.sts23 let c2 = Comparison.EqualTo;
24 assert(c2 == Comparison.EqualTo);
25 assert(c2.valueOf() == 0);
DnestedLambdaConst.sts24 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/
Dchar_eq.params.yaml17 - { 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: "!=" }
Dchar_eq_n.params.yaml17 - { 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: "!=" }
Dchar_eq.sts26 let c2 = {{c.c2}}
27 assert c1 {{c.op}} c2 && c2 {{c.op}} c1 // test associativity
Dchar_eq_n.sts27 let c2 = {{c.c2}}
28 assert c1 {{c.op}} c2
/arkcompiler/ets_frontend/ets2panda/linter/test/
Dstructural_identity.sts365 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 …]
Dlimited_stdlib_api.sts126 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/
Drecipe52.md31 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/
DgenericDefaultParam_1.sts30 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/
Dexpect_output.txt14 %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/
Dtest-ts-private-class-element-7.ts24 class C2 { class
25 static s = C2.#method();
28 print(C2.s);
/arkcompiler/ets_frontend/arkguard/test/grammar/export_obfuscation/
Dimport_obfuscation_1_expected.txt16 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/
Dnested_try_emptycatch_finally.ts16 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/
Dnonnull-object-expression-4.sts26 class C2 {
33 let objectC2: C2 = new C2();
Dnonnull-object-expression-8.sts26 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/
Dchar_literals_spec_examples.sts22 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/
Dnot_meet_rule5.ts58 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/
Dnot_meet_rule3.ts67 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/
Dstr2char.params.yaml37 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/
Drule30_4.sts36 class C2 implements Z, Z1 {
42 this.bar = "Class C2";
47 let y1: Z1 = new C2()

123456