Home
last modified time | relevance | path

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

12345678910>>...37

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/05.callable_types/01.callable_types_with_invoke_method/
Dct_invoke_access.params.yaml36 // protected invoke from same-class another invoke
38 protected static invoke(p: string) { return p }
45 // protected invoke from same-class method
47 protected static invoke(p: string) { return p + p }
56 // protected invoke from subclass invoke
58 protected static invoke(p: string) { return p }
67 // protected invoke from subclass method
69 protected static invoke(p: string) { return p + p }
81 // protected invoke from another class invoke
83 protected static invoke(p: string) { return p }
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/09.constructor_declaration/02.constructor_overload_signatures/
Ddifferent_access_modifiers.params.yaml35 protected constructor(i: int) { }
44 protected constructor(j: int) { }
52 protected constructor() { }
60 protected constructor(j: float) { }
61 protected constructor(j: string) { }
69 protected constructor(j: float) { }
94 protected constructor()
95 protected constructor(j: int) {
111 protected constructor()
112 protected constructor(j: int) { i += 1; }
/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 …]
/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/17.experimental_features/05.callable_types/02.callable_types_with_instantiate_method/
Dct_inst_access.params.yaml46 // protected instantiate from same-class another instantiate
50 protected static instantiate(f: ()=>C, p: string): C {
60 // protected instantiate from same-class method
63 protected static instantiate(f: ()=>C, p: string): C {
76 // protected instantiate from subclass instantiate
79 protected static instantiate(f: ()=>B, p: string): B {
92 // protected instantiate from subclass method
95 protected static instantiate(f: ()=>B, p: string): B {
111 // protected instantiate from another class instantiate
114 protected static instantiate(f: ()=>B, p: string): B {
[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/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/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/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/debugger/src/tests/evaluate/test_ets_evaluate/protected_fields_access/
Dprotected_field_access.base.sts22 protected a: int;
23 protected b: double;
31 protected foo(val: int): int
36 protected goo(val: double): double
/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/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_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}}
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}}
/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/debugger/src/tests/evaluate/test_ets_evaluate/abstract_class_1/
Dabstract_class_1.base.sts22 protected x: int;
27 protected y: int;
32 protected z: int;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/class_extension/interop_class_extension/
Dindex.sts68 // const redefinedProtectedValue: string = 'redefined protected value';
80 // const classInstance = new ExtendedUserClassWithProtectedFieldRedefined('protected');
86 protected protectedProperty: string = "protected";

12345678910>>...37