| /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 | 25 let c1 = {{c.c1}} 27 assert c1 {{c.op}} c2 && c2 {{c.op}} c1 // test associativity
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| 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-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-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/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/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();
|
| D | test-ts-private-class-element-8.ts | 19 let cc = class C1 { variable 32 let c1 = new cc(); variable 33 c1.publicAdd(); 34 c1.publicPrint();
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_executor.cpp | 345 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local 346 c = c1; in GetChar() 349 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() 350 if (U16_IS_TRAIL(c1)) { in GetChar() 351 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in GetChar() 367 uint16_t c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() local 368 c = c1; in PeekChar() 371 c1 = *reinterpret_cast<const uint16_t *>(cptr); in PeekChar() 372 if (U16_IS_TRAIL(c1)) { in PeekChar() 373 … c = static_cast<uint32_t>(U16_GET_SUPPLEMENTARY(c, c1)); // NOLINT(hicpp-signed-bitwise) in PeekChar() [all …]
|
| /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/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) { }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/ |
| D | TypeCreateVoidTest.sts | 42 new ClassTypeCreator("C1") 62 const C1 = creator.create() 63 const c1 = C1.make() as C 65 test(c1.foo()) 66 test(c1.bar())
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_executor.h | 388 uint32_t c1 = GetChar(&refCptr, captureEnd); in HandleOpBackReference() local 392 c1 = static_cast<uint32_t>(RegExpParser::Canonicalize(c1, IsUtf16())); in HandleOpBackReference() 395 if (c1 != c2) { in HandleOpBackReference() 415 uint32_t c1 = GetPrevChar(&refCptr, captureStart); in HandleOpBackReference() local 419 c1 = static_cast<uint32_t>(RegExpParser::Canonicalize(c1, IsUtf16())); in HandleOpBackReference() 422 if (c1 != c2) { in HandleOpBackReference() 468 uint16_t c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() local 469 c = c1; in GetChar() 473 c1 = *(reinterpret_cast<const uint16_t *>(cptr)); in GetChar() 474 if (U16_IS_TRAIL(c1)) { in GetChar() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule52.sts | 18 class C1 { 28 let c11 = new C1(); 29 let c12 = new C1(); 54 let c1 = new C(); 56 c1.foo(); // foo
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe52.md | 30 let c1 = new C() 34 c1.foo() // foo 61 let c1 = new C() 63 c1.foo() // foo
|
| /arkcompiler/ets_frontend/arkguard/test/grammar/export_namecache/ |
| D | namecacheTest8_import_expected.txt | 2 import type { c1, i, d1, j } from './namecacheTest8_export'; 3 function test(h1: h, i1: c1, j1: i, k1: d1, l1: j): void { 5 function init(g1: c1): void {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/06.type_inference/01.smart_types/ |
| D | cond_expr.params.yaml | 21 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 32 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 43 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 55 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 69 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 83 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 97 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 112 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 129 v instanceof C && v.meth_c(1) != 'C1' ? 1 : 143 v instanceof C && v.meth_c(1) != 'C1' ? 1 : [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | null_check_calls.sts | 17 import { f, f2, bar, applyToUnknown, fooExecute, C1, myFoo, myFoo2 } from "./dynamic_lib"; 19 let a1: C1 = new C1() 21 function g1(): C1 | null {
|
| D | undefined_check_calls.sts | 17 import { f, f2, bar, applyToUnknown, fooExecute, C1, resourceFoo, ResourceStr, myFoo, myFoo2 } from… 19 let a1: C1 = new C1() 21 function g1(): C1 | undefined {
|
| /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-ternary.sts | 22 class C1 { 27 let objectC1 : C1 = new C1();
|
| D | nonnull-object-expression-7.sts | 22 class C1 { 28 let objectC1: C1 = new C1();
|
| D | nonnull-object-expression.sts | 22 class C1 { 27 let objectC1 : C1 = new C1();
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/ |
| D | arkts-no-misplaced-imports.ts | 18 import { C1 } from './include/lib' 20 export function bar(): C1 { 21 return new C1();
|