Home
last modified time | relevance | path

Searched full:c1 (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/class_ops/
Dclass_call_static_method_by_name_char_test.ets17 static sub(c0: char, c1: char): char {
19 if (c0 > c1) {
20 c = c0 - c1 as Char;
22 c = c1 - c0 as Char;
30 static funcA(c0: char, c1: char): char {
32 if (c0 > c1) {
33 c = c0 - c1 as Char;
35 c = c1 - c0 as Char;
39 static funcA(c0: int, c1: int): int {
40 return c1 - c0 as int;
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top+export/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/01_export_import_cases/export_default_assignment/
Dimport_api_01_expected.txt15 import c1 from 'assert';
17 c1(d1 === 2);
19 c1(e1.num === 1);
21 c1(f1 !== undefined);
23 c1(g1 === 4);
25 c1(h1[0] === 1);
26 c1(h1[1] === 2);
28 c1(i1.objProp1 === 1);
29 c1(i1.objProp2 === 2);
31 c1(j1.toString() === '/a/');
[all …]
/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: "!=" }
/arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/11_deconstruction/
D01_deconstruction_01.ts26 let [b1,c1,d] = arr; variable
28 assert(c1 === 1);
33 let obj = {a1:1, b1:a1+1, c1:3}
36 assert(obj.c1 === 3);
37 let {c1:b2,a1:c2,b1:d2}=obj; variable
42 class C1 { class
45 c1:number; property in C1
49 this.c1 = _c;
52 function f1([a1,b1,c1]: Array<number>, {a1:x,b1:y,c1:d}:C1) {
53 a1;b1;c1;x;y;d;
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definiton25.ts17 declare class C1 {} class
18 function C1() : C1 function
19 function C1() : any {}
26 declare class C1 {}
27 function C1() : C1
28 function C1() : any {}
Dtest-class-definiton23.ts17 function C1() : C1 function
18 function C1() : any {}
19 declare class C1 {} class
26 function C1() : C1 function
27 function C1() : any {}
28 declare class C1 {} class
Dtest-class-definiton24.ts18 class C1 {} class
19 function C1() : C1 function
20 function C1() : C1
Dtest-ts-private-class-element-1.ts19 class C1 { class
26 let c1: C1 = new C1(); variable
27 c1.#add();
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DnestedNameSpaceWithStaticField.ets17 export class C1{
25 export let c1 = new A.C1()
33 export let a: A.C1[] = [new A.C1()]
36 C.a[0].arr2[2] *= B.X.c1.arr2[1]
38 C.a[0].arr2[2] += A.C1.arr1[1]
40 A.C1.arr1[1] -= B.X.C2.a + 5
41 assertTrue(A.C1.arr1[1] == -8)
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+export/04_class_cases/02_class_declaration/
D02_extends_expected.txt16 class C1 {
19 return 'c1';
22 class C2 extends C1 {
31 c1(): number {
36 c1(): number {
42 assert(r.c1() === 42);
44 let insC1 = new C1();
45 assert(insC1.u() === 'c1');
50 assert(insC3.c1() === 32);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/04_class_cases/02_class_declaration/
D02_extends_expected.txt16 class C1 {
19 return 'c1';
22 class C2 extends C1 {
31 c1(): number {
36 c1(): number {
42 assert(r.c1() === 42);
44 let insC1 = new C1();
45 assert(insC1.u() === 'c1');
50 assert(insC3.c1() === 32);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.subtype_to_supertype_conversions/
Dsubtype_to_supertype.params.yaml91 class C1 implements II1 {}
94 - "let b: II1|I2 = new C1()"
96 - "let b: I1|II2 = new C1()"
105 class C1 extends AA1 {}
108 - "let b: AA1|A2 = new C1()"
110 - "let b: A1|AA2 = new C1()"
115 class C1 {}
117 class CC1 extends C1 {}
124 - "let b: C1|CC2 = new A()"
125 - "let b: C1|C2 = new B()"
[all …]
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+export/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/export/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/default/11_deconstruction/
D01_deconstruction_01_expected.txt23 let [b1, c1, d] = arr;
25 assert(c1 === 1);
29 let obj = { a1: 1, b1: a1 + 1, c1: 3 };
32 assert(obj.c1 === 3);
33 let { c1: b2, a1: c2, b1: d2 } = obj;
37 class C1 {
40 c1: number;
44 this.c1 = j;
47 function f1([a, b, c]: Array<number>, { a1: e, b1: f, c1: g }: C1) {
61 f1([10, a1 + 20, 20], new C1([...arr]));
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
D11979-interface-attr-init-030.ets21 class C1 {
29 RED: C1 = new C1("RED");
30 GREEN: C1 = new C1("GREEN");
31 BLUE: C1 = new C1("BLUE");
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top/04_class_cases/02_class_declaration/
D03_extends_implements_expected.txt15 import c1 from "assert";
33 c1(g1.prop_c5 === 0);
34 c1(g1.method_c5() === 5);
36 c1(h1.prop_c5 === 0);
37 c1(h1.method_c5() === 5);
38 c1(h1.inter_p5 === 1);
39 c1(h1.method_i5() === 10);
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/top/04_class_cases/02_class_declaration/
D03_extends_implements_expected.txt15 import c1 from "assert";
33 c1(g1.prop_c5 === 0);
34 c1(g1.method_c5() === 5);
36 c1(h1.prop_c5 === 0);
37 c1(h1.method_c5() === 5);
38 c1(h1.inter_p5 === 1);
39 c1(h1.method_i5() === 10);
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/
Dtest-ts-private-class-element-1.ts19 class C1 { class
32 let c1: C1 = new C1(); variable
33 c1.publicAdd();
34 c1.publicPrint();
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp/04_class_cases/01_constructor/
D03_class_nested_constructor_expected.txt18 constructor(public b1: number, public c1: string) {
23 c1 = c1 + "2";
32 this.c1 = c1;
37 assert(insA6.c1 === "22");
/arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop/04_class_cases/01_constructor/
D03_class_nested_constructor_expected.txt18 constructor(public b1: number, public c1: string) {
23 c1 = c1 + "2";
32 this.c1 = c1;
37 assert(insA6.c1 === "22");

12345678910>>...21