| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | class_as_object.ts.arkts2.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 74 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 134 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 174 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| D | class_as_object.ts.json | 22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 132 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 142 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| D | imported_use_as_object.ts.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 104 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 114 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 124 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 134 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 174 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| D | sendable_class_inheritance.ts.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 44 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 54 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 64 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 74 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 84 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 94 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 104 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", 114 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)", [all …]
|
| D | constructor_types.ts.json | 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 54 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 84 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 94 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 154 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 164 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
|
| D | sendable_class_interface_property.ts.json | 34 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 44 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 54 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 64 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 74 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 84 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 94 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 104 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 114 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… 124 …"rule": "Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-s… [all …]
|
| D | @arkts.lang.d.ets.json | 24 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
|
| D | loop_over_set.ts.json | 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 44 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/test-lists/ets-func-tests/ |
| D | ets-func-tests-excluded-DI.txt | 55 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 56 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 57 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 58 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 59 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 60 spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/override_optional_param_0… 61 spec/09.classes/9.6.Method_Declarations/method-optional-parameters-00.sts 62 spec/09.classes/9.6.Method_Declarations/method-optional-parameters-01.sts 63 spec/09.classes/9.6.Method_Declarations/method-optional-parameters-02.sts 64 spec/09.classes/9.6.Method_Declarations/method-optional-parameters-03.sts [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
| D | x64_call_conv.cpp | 23 std::vector<ArgumentClass> &classes) const in Classification() 43 classes.push_back(kIntegerClass); in Classification() 47 classes.push_back(kFloatClass); in Classification() 56 std::vector<ArgumentClass> &classes) const in Classification() 71 classes.push_back(kIntegerClass); in Classification() 78 classes.push_back(kIntegerClass); in Classification() 81 classes.push_back(kFloatClass); in Classification() 84 classes.push_back(kFloatClass); in Classification() 93 std::vector<ArgumentClass> &classes) const in Classification() 108 classes.push_back(kIntegerClass); in Classification() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule149.ts.json | 22 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 32 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 42 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 52 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 72 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 82 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 102 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 112 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 132 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", 242 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)", [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | simplify_string_builder.h | 72 Inst *instance {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 73 Inst *ctorCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 74 Inst *toStringCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 75 size_t appendCount {0}; // NOLINT(misc-non-private-member-variables-in-classes) 77 appendIntrinsics {}; // NOLINT(misc-non-private-member-variables-in-classes) 145 BasicBlock *block {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 146 PhiInst *accValue {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 147 Inst *initialValue {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 150 Inst *instance {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) 151 Inst *ctorCall {nullptr}; // NOLINT(misc-non-private-member-variables-in-classes) [all …]
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | fail_list_sts_with_runtime.json | 102 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0000.st… 103 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0001.st… 104 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0002.st… 105 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0003.st… 106 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0004.st… 107 …"/tmp/abckit_test_ets/spec/09.classes/9.5.Field_Declaration/class_with_optional_attributes_0005.st… 108 …"/tmp/abckit_test_ets/spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/in… 109 …"/tmp/abckit_test_ets/spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/in… 110 …"/tmp/abckit_test_ets/spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/in… 111 …"/tmp/abckit_test_ets/spec/09.classes/9.6.Method_Declarations/10.Overriding_by_Instance_Methods/in… [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/08.reference_types/12.union_types/access_to_common_union_members/ |
| D | cm_fld1.params.yaml | 16 # Common fields in classes 18 // classes, fields of any type 32 // classes, fields of number type 46 // classes, fields of bigint type 60 // classes, fields of Integral type 74 // classes, fields of Error type 88 // classes, fields of union literal type 102 // classes, fields of union type 116 // classes, fields of array type 130 // classes, fields of tuple type [all …]
|
| D | cm_meth1.params.yaml | 18 // classes, methods of any type 42 // classes, methods of number type 60 // classes, methods of bigint type 78 // classes, methods of Integral type 96 // classes, methods of Error type 114 // classes, methods of union literal type 132 // classes, methods of union type 150 // classes, methods of array type 168 // classes, methods of tuple type 186 // classes, methods of Record type [all …]
|
| D | cm_fld2.params.yaml | 18 // classes, fields of any type 34 // classes, fields of number type 52 // classes, fields of bigint type 68 // classes, fields of Integral type 92 // classes, fields of Error type 106 // classes, fields of union literal type 128 // classes, fields of union type 148 // classes, fields of array type 164 // classes, fields of tuple type 180 // classes, fields of Record type [all …]
|
| D | cm_meth2.params.yaml | 18 // classes, methods of any type 38 // classes, methods of number type 62 // classes, methods of bigint type 82 // classes, methods of Integral type 114 // classes, methods of Error type 130 // classes, methods of union literal type 160 // classes, methods of union type 188 // classes, methods of array type 209 // classes, methods of tuple type 229 // classes, methods of Record type [all …]
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.h | 35 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 38 // NOLINTEND(misc-non-private-member-variables-in-classes) 49 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 52 // NOLINTEND(misc-non-private-member-variables-in-classes) 63 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 66 // NOLINTEND(misc-non-private-member-variables-in-classes) 77 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 80 // NOLINTEND(misc-non-private-member-variables-in-classes) 93 // NOLINTBEGIN(misc-non-private-member-variables-in-classes) 96 // NOLINTEND(misc-non-private-member-variables-in-classes)
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_call_conv.cpp | 161 std::vector<ArgumentClass> classes {}; in LocateNextParm() local 162 int32 alignedTySize = ClassificationArg(beCommon, mirType, classes); in LocateNextParm() 164 if (classes[0] == kIntegerClass) { in LocateNextParm() 170 } else if (classes[0] == kFloatClass) { in LocateNextParm() 173 if (pLoc.reg0 == kRinvalid || classes[0] == kMemoryClass) { in LocateNextParm() 184 std::vector<ArgumentClass> classes {}; /* Max of four Regs. */ in LocateRetVal() local 185 int32 alignedTySize = ClassificationRet(beCommon, retType, classes); in LocateRetVal() 189 if (classes[0] == kIntegerClass) { in LocateRetVal() 197 } else if (classes[0] == kFloatClass) { in LocateRetVal() 206 if (pLoc.reg0 == kRinvalid || classes[0] == kMemoryClass) { in LocateRetVal() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/hotreload/ |
| D | hotreload.h | 76 * There is no API for adding classes for hotreload 111 panda_file::SourceLang lang_; // NOLINT(misc-non-private-member-variables-in-classes) 112 ManagedThread *thread_; // NOLINT(misc-non-private-member-variables-in-classes) 113 PandaVector<ClassContainment> classes_; // NOLINT(misc-non-private-member-variables-in-classes) 115 …s_; // NOLINT(misc-non-private-member-variables-in-classes) 116 …dMap<Method *, Method *> methodsTable_; // NOLINT(misc-non-private-member-variables-in-classes) 117 …dMap<Class *, FieldIdTable> fieldsTables_; // NOLINT(misc-non-private-member-variables-in-classes) 118 …dSet<Class *> reloadedClasses_; // NOLINT(misc-non-private-member-variables-in-classes)
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe149.md | 1 # Classes cannot be used as objects 3 Rule ``arkts-no-classes-as-obj`` 7 ArkTS does not support using classes as objects (assigning them to variables,
|
| /arkcompiler/runtime_core/libabckit/tests/clean_scenarios/cpp_api/dynamic/router_table/ |
| D | README.md | 3 …at we have many annotated classes and one map, we need to collect all these classes and created in… 11 We have such classes:
|
| /arkcompiler/runtime_core/libabckit/tests/clean_scenarios/c_api/dynamic/router_table/ |
| D | README.md | 3 …at we have many annotated classes and one map, we need to collect all these classes and created in… 11 We have such classes:
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/ |
| D | test1.ts.json | 24 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets … 34 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets … 44 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets … 54 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets … 64 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets … 74 …"rule": "Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets …
|
| /arkcompiler/ets_frontend/testTs/ |
| D | skip_tests.json | 526 "./testTs/test/classes/mixinAccessModifiers.ts", 527 "./testTs/test/classes/awaitAndYieldInProperty.ts", 528 "./testTs/test/classes/mixinAbstractClasses.2.ts", 529 "./testTs/test/classes/nestedClassDeclaration.ts", 530 "./testTs/test/classes/indexMemberDeclarations/privateIndexer.ts", 531 "./testTs/test/classes/indexMemberDeclarations/publicIndexer.ts", 532 "./testTs/test/classes/indexMemberDeclarations/privateIndexer2.ts", 533 "./testTs/test/classes/indexMemberDeclarations/staticIndexers.ts", 534 "./testTs/test/classes/classStaticBlock/classStaticBlock7.ts", 535 "./testTs/test/classes/classStaticBlock/classStaticBlock16.ts", [all …]
|