Home
last modified time | relevance | path

Searched full:inheritance (Results 1 – 25 of 466) sorted by relevance

12345678910>>...19

/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
Dinheritance-expected.txt13 "program": "inheritance.ets"
18 "program": "inheritance.ets"
30 "program": "inheritance.ets"
35 "program": "inheritance.ets"
44 "program": "inheritance.ets"
49 "program": "inheritance.ets"
62 "program": "inheritance.ets"
67 "program": "inheritance.ets"
79 "program": "inheritance.ets"
84 "program": "inheritance.ets"
[all …]
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dsendable_class_inheritance.ets.json44 … "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)",
124 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
134 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
[all …]
Dsendable_class_inheritance.ets.autofix.json44 … "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)",
131 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
148 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
[all …]
Dsendable_class_inheritance.ets.migrate.json44 … "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)",
Dsendable_class_inheritance_2.ets.json24 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
34 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
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)",
Dsendable_class_inheritance_2.ets.autofix.json31 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
48 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
65 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
82 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
99 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
109 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
Dmethod_inheritance.ets.arkts2.json24 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
34 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
44 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
54 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
84 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
94 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
104 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
114 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
174 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
184 …"rule": "Overridden method parameters and return types must respect type inheritance principles (a…
[all …]
Dstructural_identity.ets108 fC(i); // ERR, no inheritance relation
109 fC(ci); // ERR, no inheritance relation
111 fC(ii); // ERR, no inheritance relation
112 fI(c); // ERR, no inheritance relation
115 fI(cc); // ERR, no inheritance relation
138 fC(dc); // ERR, no inheritance relation
139 fC(di); // ERR, no inheritance relation
140 fC(dci); // ERR, no inheritance relation
141 fC(dcc); // ERR, no inheritance relation
142 fC(dii); // ERR, no inheritance relation
[all …]
Dsendable_class_inheritance_2.ets.migrate.json24 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
Dlimited_literal_type.ets.json24 "rule": "Use inheritance instead of intersection types (arkts-no-intersection-types)",
34 "rule": "Use inheritance instead of intersection types (arkts-no-intersection-types)",
/arkcompiler/ets_frontend/ets2panda/linter/test/ts_import_ets/ts/
Dtest4.ts.json44 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
54 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
64 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
74 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
84 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
94 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
104 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
114 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
124 …\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)",
/arkcompiler/ets_frontend/ets2panda/linter/test/rules/
Drule153.ets.json24 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
34 … "rule": "The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)",
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/03.class_extension_clause/multi_level_inheritance/
Dmulti_level_inheritance_value_transfer_47.ets17 …ass b to class d in the multi-level inheritance chain is correctly initialized to the string'multi…
28 this._publicVar = 'Multi-level inheritance';
38 assertEQ(this._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer_49.ets17 …ss f is correctly initialized to the string'multi-level inheritance' after multi-level inheritance.
24 this._publicVar = 'Multi-level inheritance';
47 assertEQ(this._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer13.ets17 …rate the passing and initial verification of member variables in multi-level inheritance structure.
23 this._publicVar = 'Multi-level inheritance';
49 assertEQ(test._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer11.ets17 desc: Multi-level inheritance verifies that the public member variable _publicVar in class b is cor…
27 this._publicVar = 'Multi-level inheritance';
42 assertEQ(test._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer_45.ets17 …inherited from the parent class a, is correctly initialized to the string'multi-level inheritance'.
24 this._publicVar = 'Multi-level inheritance';
34 assertEQ(this._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer_46.ets17 …e protected property _public_var inherited from class a is'multi-level inheritance' in the test me…
24 this._publicVar = 'Multi-level inheritance';
40 assertEQ(this._publicVar, 'Multi-level inheritance');
Dmulti_level_inheritance_value_transfer10.ets17 desc: Multi-level inheritance verifies that the public member variable _publicVar in class a is pas…
24 this._publicVar = 'Multi-level inheritance';
45 assertEQ(test._publicVar, 'Multi-level inheritance');
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/10.interfaces/07.interface_inheritance/multi_layer_interface/multi_layer_interface_inheritance_override/
Dmulti_layer_interface_inheritance_override_ext.params.yaml16 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
40 …- desc: An upper-layer interface has multiple methods. In multi-layer inheritance, the sub-interfa…
76 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
100 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
124 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
148 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
172 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
196 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
220 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
249 …- desc: The upper-layer interface has a method. In multi-layer inheritance, the sub-interface over…
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/
Dgc_scope.h39 …TIMING> : public trace::ScopedTrace, public ScopedTiming { // NOLINT(fuchsia-multiple-inheritance)
48 // NOLINTNEXTLINE(fuchsia-multiple-inheritance)
58 …IMING_PHASE> : public ScopedTiming, public GCScopedPhase { // NOLINT(fuchsia-multiple-inheritance)
67 …PHASE> : public trace::ScopedTrace, public GCScopedPhase { // NOLINT(fuchsia-multiple-inheritance)
/arkcompiler/ets_frontend/ets2panda/linter/docs/rules/
Drecipe19.md1 # Use inheritance instead of intersection types
7 Currently, ArkTS does not support intersection types. Use inheritance
Drecipe132.md8 prototype inheritance in the language. This feature is considered not applicable
36 // Call parent's constructor, inheritance chain is static and
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/18.annotations/01.declaring_annotations/
Ddeclaration_inheritance_n.params.yaml18 inheritance: |-
22 inheritance: |-
Ddeclaration_inheritance_n.ets19 desc: An annotation cannot be extended or implemented as inheritance is not supported.
27 {{ case.type }} InheritedEntity {{ case.inheritance }} SomeAnnotation {}

12345678910>>...19