Searched full:protected (Results 1 – 25 of 1244) sorted by relevance
12345678910>>...50
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.callable_types/01.callable_types_with_invoke_method/ |
| D | ct_invoke_access.params.yaml | 36 // 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/01.class_declaration/03.class_extension_clause/class_superclass_non_private/ |
| D | class_no_pri33.ets | 17 desc: The child class calls the parent class method, and the protected method overridden by the chi… 21 protected protectedMethod(): string { 22 return "Protected Method from Parent!"; 31 protected protectedMethod(): string { 32 return "Protected Method from Child!"; 42 assertEQ(child.callParentGreet(), "Protected Method from Child!");
|
| D | class_no_pri34.ets | 17 desc: The child class calls the parent class method, and the protected method newly added by the ch… 31 protected customProtectedMethod(): string { 32 return "Custom Protected Method from Child!"; 46 assertEQ(child.callParentFarewell(), "Custom Protected Method from Child! Goodbye from Parent!");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/15.semantic_rules/07.overloading_and_overriding/04.overloading_and_overriding_in_classes/ |
| D | access_modifier_over.params.yaml | 48 protected override public_foo() { res = 11;} 55 protected override public_foo() { res = 11;} 106 protected override internal_foo() { res = 11;} 115 # Override protected 116 - doc: Protected member can be overridden by the protected or public one. 125 - doc: Protected member can be overridden by the protected or public one. 128 protected override protected_foo(i: Number) { res = 11;} 135 - doc: Protected member can be overridden by the protected or public one. 142 - doc: Protected member can be overridden by the protected or public one. 149 # Override protected [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/bridge/arch/aarch64/ |
| D | compiled_code_to_runtime_bridge_aarch64.S | 27 .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/06.method_declarations/06.overriding_methods/ |
| D | different_access_modifiers.params.yaml | 35 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) { }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/06.callable_types/02.callable_types_with_instantiate_method/ |
| D | ct_inst_access.params.yaml | 46 // 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/ets_frontend/ets2panda/linter/arkanalyzer/src/core/dataflow/ |
| D | DataflowSolver.ts | 41 protected problem: DataflowProblem<D>; 42 protected workList: Array<PathEdge<D>>; 43 protected pathEdgeSet: Set<PathEdge<D>>; 44 protected zeroFact: D; 45 protected inComing: Map<PathEdgePoint<D>, Set<PathEdgePoint<D>>>; 46 protected endSummary: Map<PathEdgePoint<D>, Set<PathEdgePoint<D>>>; 47 …protected summaryEdge: Set<CallToReturnCacheEdge<D>>; // summaryEdge不是加速一个函数内多次调用同一个函数,而是加速多次调用同一个… 48 protected scene: Scene; 49 protected CHA!: ClassHierarchyAnalysis; 50 protected stmtNexts: Map<Stmt, Set<Stmt>>; [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/03.keyof_types/ |
| D | keyof_class.params.yaml | 134 protected var2 = false 139 protected jay() {} 148 protected var2 = false 153 protected jay() {} 161 protected var2 = false 166 protected jay() {} 174 protected var2 = false 179 protected jay() {} 187 protected var2 = false 192 protected jay() {}
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/06.method_declarations/06.overriding_methods/requirements_in_overriding_and_hiding/ |
| D | hiding_methods_with_different_access_modifiers_n.params.yaml | 16 - {m1: "public", m2: "protected"} 19 - {m1: "protected", m2: "private"} 20 - {m1: "protected", m2: "internal"} 22 - {m1: "internal", m2: "protected"}
|
| D | overriding_methods_with_different_access_modifiers.params.yaml | 16 - {m1: "public", m2: "protected"} 19 - {m1: "protected", m2: "internal"} 20 - {m1: "protected", m2: "private"}
|
| D | hiding_methods_with_different_access_modifiers.params.yaml | 17 - {m1: "protected", m2: "protected", tags: "[]"} 18 - {m1: "protected", m2: "public", tags: "[]"}
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ets/ |
| D | internalProtectedParsing.ets | 17 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/ |
| D | constructors.ets | 17 protected x: int; 18 protected y: float; 20 protected constructor(x: int) { this.x = x; } 28 protected x: int;
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/test/cookbook_tests/ |
| D | arkts-no-private-identifiers.d.ets | 20 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>;
|
| D | arkts-no-private-identifiers.ts | 22 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/ |
| D | test-class-definition28.ts | 20 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/01.class_declaration/03.class_extension_clause/class_spuerclass_override/ |
| D | class_over12.ets | 17 desc: The child class overrides the parent class method and uses the protected method of the parent… 21 protected protectedGreet(): string { 22 return "Hello from Parent (protected)"; 38 assertEQ(child.greet(), "Hello from Parent (protected) and Hello from Child");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/tests/evaluate/test_ets_evaluate/protected_fields_access/ |
| D | protected_field_access.base.ets | 22 protected a: int; 23 protected b: double; 31 protected foo(val: int): int 36 protected goo(val: double): double
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/callgraph/algorithm/ |
| D | AbstractAnalysis.ts | 32 protected scene: Scene; 33 protected cg: CallGraph; 34 protected cgBuilder!: CallGraphBuilder; 35 protected workList: FuncID[] = []; 36 protected processedMethod!: IPtsCollection<FuncID>; 51 protected abstract resolveCall(sourceMethod: NodeID, invokeStmt: Stmt): CallSite[]; 52 protected abstract preProcessMethod(funcID: FuncID): CallSite[]; 140 protected init(): void { 147 protected processMethod(methodID: FuncID): CallSite[] { 173 protected getParamAnonymousMethod(invokeExpr: AbstractInvokeExpr): MethodSignature[] { [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/03.class_extension_clause/method_return_value/ |
| D | method_return_value_4.ets | 17 …eritance, the return value of the method is number, and the modifier is protected. Verify that the… 21 protected getValue(): number { 31 protected getValue(): number { 41 protected getValue(): number {
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/base/ |
| D | BasePrinter.ts | 44 protected printDecorator(docorator: Decorator[]): void { 50 protected printComments(commentsMetadata: CommentsMetadata): void { 57 protected modifiersToString(modifiers: number): string { 62 protected resolveMethodName(name: string): string { 75 protected classOriginTypeToString(clsCategory: ClassCategory): string {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/04.access_modifiers/03.protected_access_modifier/ |
| D | protected_interface_access_out_class.ets | 17 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 }
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/03.class_extension_clause/initialize_members/ |
| D | initialize_members_40.ets | 17 desc: The subclass directly initializes member variables, with the modifier being protected and the… 21 protected constructorPublicVar: number; 25 protected constructorPublicVar: number = 100;
|
| D | initialize_members_43.ets | 17 desc: The subclass directly initializes its own member variables, the modifier is protected, and th… 21 protected constructorPublicVar: number; 25 protected childField1 : number = 200;
|
12345678910>>...50