| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/strProp+top+export/01_export_import_cases/export_default_assignment/ |
| D | import_api_01_expected.txt | 15 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/01_export_import_cases/export_default_assignment/ |
| D | import_api_01_expected.txt | 15 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/ |
| D | import_api_01_expected.txt | 15 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/ |
| D | import_api_01_expected.txt | 15 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/ |
| 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: "!=" }
|
| /arkcompiler/ets_frontend/arkguard/test/combinations/basic_grammar/11_deconstruction/ |
| D | 01_deconstruction_01.ts | 26 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/ |
| D | test-class-definiton23.ts | 17 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
|
| D | test-class-definiton25.ts | 17 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 {}
|
| D | test-class-definiton24.ts | 18 class C1 {} class 19 function C1() : C1 function 20 function C1() : C1
|
| D | test-ts-private-class-element-1.ts | 19 class C1 { class 26 let c1: C1 = new C1(); variable 27 c1.#add();
|
| /arkcompiler/ets_frontend/arkguard/test/combinations_expect/basic_grammar/prop+strProp+export/04_class_cases/02_class_declaration/ |
| D | 02_extends_expected.txt | 16 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+export/04_class_cases/02_class_declaration/ |
| D | 02_extends_expected.txt | 16 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/export/11_deconstruction/ |
| D | 01_deconstruction_01_expected.txt | 23 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/ |
| D | 01_deconstruction_01_expected.txt | 23 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/11_deconstruction/ |
| D | 01_deconstruction_01_expected.txt | 23 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/ |
| D | 01_deconstruction_01_expected.txt | 23 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/ |
| D | 11979-interface-attr-init-030.sts | 21 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/ |
| D | 03_extends_implements_expected.txt | 15 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/ |
| D | 03_extends_implements_expected.txt | 15 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/ |
| D | test-ts-private-class-element-1.ts | 19 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/ |
| D | 03_class_nested_constructor_expected.txt | 18 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/ |
| D | 03_class_nested_constructor_expected.txt | 18 constructor(public b1: number, public c1: string) { 23 c1 = c1 + "2"; 32 this.c1 = c1; 37 assert(insA6.c1 === "22");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/declgen_ets2ts/getters_setters/ |
| D | getters_setters.ts | 35 const c1 = new C(); constant 37 assertEq(c1.x, 0); 38 assertEq(c1.val, 0); 39 c1.x = 1; 40 assertEq(c1.x, 1); 41 assertEq(c1.val, 1);
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_executor.cpp | 346 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local 347 c = c1; in GetChar() 350 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() 351 if (U16_IS_TRAIL(c1)) { in GetChar() 352 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in GetChar() 368 uint16_t c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() local 369 c = c1; in PeekChar() 372 c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() 373 if (U16_IS_TRAIL(c1)) { in PeekChar() 374 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in PeekChar() [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/decorators/ |
| D | test-ts-decorators-21.ts | 29 class C1 { class 32 @propDec((c: C1) => print(c.#x)) 35 @propDec((c: C1) => print(c.#x)) 38 @methodDec((c: C1) => print(c.#x)) 41 @methodDec((c: C1) => print(c.#x)) 42 m2(@paramDec((c: C1) => print(c.#x)) p: any) { }
|