Home
last modified time | relevance | path

Searched full:protected (Results 1 – 25 of 856) sorted by relevance

12345678910>>...35

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/
Daccess_modifier_over.params.yaml48 protected override public_foo() { res = 11;}
57 protected override public_foo() { res = 11;}
120 protected override internal_foo() { res = 11;}
133 # Override protected
134 - doc: Protected member can be overridden by the protected or public one.
143 - doc: Protected member can be overridden by the protected or public one.
146 protected override protected_foo(i: Number) { res = 11;}
152 - doc: Protected member can be overridden by the protected or public one.
161 - doc: Protected member can be overridden by the protected or public one.
170 # Override protected
[all …]
Daccess_modifier_over.sts30 protected protected_foo(i: Number) { res = 2;}
40 protected foo(i: Gen<T>) {}
44 protected foo(i: T) {}
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/aarch64/
Dcompiled_code_to_runtime_bridge_aarch64.S27 .protected \name
28 .protected \notcompiled_entry
29 .protected \compiled_entry
46 .protected \name
47 .protected \entry
82 .protected \name
83 .protected \entry
101 .protected \name
102 .protected \entry
120 .protected \name
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/11.local_classes_and_interfaces/
Dlocal_class_with_access_modifier.params.yaml20 protected class A {}
37 protected foo(): int {};
42 protected foo: int;
69 protected interface I {}
86 protected foo(): int;
91 protected foo: int;
/arkcompiler/ets_frontend/ets2panda/test/parser/ets/
DinternalProtectedParsing.sts17 internal protected x : int;
18 internal protected y : int;
20 internal protected constructor(x: int, y: int) {
29 internal protected foo(): void {}
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dconstructors.sts17 protected x: int;
18 protected y: float;
20 protected constructor(x: int) { this.x = x; }
28 protected x: int;
Dmethods.sts21 protected final e(): void {};
22 protected f(): void {};
23 protected static g(): void {};
/arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/
Darkts-no-private-identifiers.d.sts20 protected e: Map<any, any>;
21 protected static f: Map<string, string>;
26 protected o(): Map<any, any>;
27 protected static p(): Map<string, string>;
Darkts-no-private-identifiers.ts22 protected e = new Map()
23 protected static f = new Map<string, string>()
43 protected o() {
46 protected static p() {
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-class-definition28.ts20 protected #baz = 3;
24 protected #bazMethod() { return 3; }
30 protected get #bazProp() { return 3; }
31 protected set #bazProp(value: number) { }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/requirements_in_overriding_and_hiding/
Doverriding_methods_with_different_access_modifiers.params.yaml16 - {m1: "public", m2: "protected"}
19 - {m1: "protected", m2: "internal"}
20 - {m1: "protected", m2: "private"}
/arkcompiler/runtime_core/static_core/verification/
Dverification.yaml20 protected_field: Access to protected object field is prohibited.
21 package_field: Access to package protected object field is prohibited.
23 … protected_method: Call to protected methods from non-descendants of object class is prohibited.
25 package_method: Call to protected methods from non-descendants of object class is prohibited.
49 - protected
84 protected_field: protected
99 protected_method: protected
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/03.protected_access_modifier/
Dprotected_interface_access_out_class.sts17 desc: Check interface with protected access modifier out class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
23 protected interface I { fee(): int }
Dprotected_interface_access_in_class.sts17 desc: Check interface with protected access modifier in class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
22 protected interface I { fee(): int }
Dprotected_interface_access_in_derived_class.sts17 desc: Check interface with protected access modifier in derived class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
22 protected interface I { fee(): int }
Dprotected_constructor_access_in_class.sts17 desc: Check constructor with protected access modifier in class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
25 protected constructor(x: int, y: int) {
Dprotected_constructor_access_out_class.sts17 desc: Check constructor with protected access modifier out class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
26 protected constructor(x: int, y: int) {
Dprotected_constructor_access_in_derived_class.sts17 desc: Check constructor with protected access modifier in derived class.
18 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
25 protected constructor(x: int, y: int) {
Dprotected_member_access_in_derived_class.sts18 desc: Check members with protected access modifier in derived class.
19 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
24 protected {{member.body}}
Dprotected_member_access_in_class.sts18 desc: Check members with protected access modifier in class.
19 assert: Member or constructor with protected modifier can be accessed only within their declaring c…
24 protected {{member.body}}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_extension/
Dindex.sts68 // const redefinedProtectedValue: string = 'redefined protected value';
80 // const classInstance = new ExtendedUserClassWithProtectedFieldRedefined('protected');
86 protected protectedProperty: string = "protected";
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/amd64/
Dcompiled_code_to_runtime_bridge_amd64.S130 .protected \name
131 .protected \notcompiled_entry
132 .protected \compiled_entry
148 .protected \name
149 .protected \entry
256 .protected \name
257 .protected \entry
280 .protected \name
281 .protected \entry
299 .protected \name
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/overriding_by_instance_methods/
Doverriding_method_from_superclass.params.yaml17 - "protected"
18 - "internal protected"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/10.inheritance/
Dinheritance_static_methods.params.yaml17 - "protected"
18 - "internal protected"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/05.field_declarations/
Dtwo_same_field_modifiers.params.yaml18 - "protected protected"

12345678910>>...35