/arkcompiler/ets_runtime/test/sharedtest/definesendableclass/ |
D | expect_output.txt | 14 age getter 16 sAge getter 20 age getter 22 sAge getter 27 age getter 29 sAge getter 34 age getter 36 sAge getter
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
D | interfacePropertyDeclarations.cpp | 117 auto getter = GenerateGetterOrSetter(checker, prop->AsClassProperty(), false); in UpdateInterfacePropertys() local 118 newPropertyList.emplace_back(getter); in UpdateInterfacePropertys() 121 auto name = getter->Key()->AsIdentifier()->Name(); in UpdateInterfacePropertys() 123 …uto *decl = checker->Allocator()->New<varbinder::FunctionDecl>(checker->Allocator(), name, getter); in UpdateInterfacePropertys() 128 prevDecl->Node()->AsMethodDefinition()->AddOverload(getter); in UpdateInterfacePropertys() 136 getter->Function()->Id()->SetVariable( in UpdateInterfacePropertys() 144 getter->AddOverload(setter); in UpdateInterfacePropertys() 146 getter->Function()->Id()->SetVariable(var); in UpdateInterfacePropertys()
|
/arkcompiler/ets_runtime/test/aottest/stownbyvalue/ |
D | stownbyvalue.ts | 30 get getter(): any { variable 36 print(info.getter);
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/generic/ |
D | callFromAsyncLambda.ets | 35 let getter = new Getter(); 38 let str = getter.get<string>("F"); 41 let arr2: Int[] = getter.get<Int>(arr);
|
D | generic_03.ets | 31 let getter = new Getter(); 33 let str = getter.get<string>(a);
|
/arkcompiler/ets_frontend/ts2panda/src/expression/ |
D | objectLiteralExpression.ts | 155 let getter = <ts.GetAccessorDeclaration>prop.getGetter(); 156 createMethodOrAccessor(pandaGen, compiler, objReg, getter); 157 pandaGen.storeAccumulator(getter, getterReg); 158 accessor = getter; 211 let getter = <ts.GetAccessorDeclaration>prop.getValue(); 212 createMethodOrAccessor(pandaGen, compiler, objReg, getter); 213 pandaGen.storeAccumulator(getter, accessorReg); 214 …pandaGen.defineGetterSetterByValue(getter, objReg, keyReg, accessorReg, getVregisterCache(pandaGen…
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
D | TypeMethodTest.ets | 132 test(!cMethod.isGetter(), " not getter") + 135 … test(getterMethod.getAttributes() == Attributes.GETTER, " getter attrib") + 140 test(getterMethod.isGetter(), " getter") + 148 test(!setterMethod.isGetter(), " not getter") + 156 … test(!createFileExtMethod.isGetter(), " not getter") + 164 … test(!abstractWriteMethod.isGetter(), " not getter") + 172 test(!closeMethod.isGetter(), " not getter") +
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/callable-classes/ |
D | type-call-instantiate_9.ets | 28 static instantiate(factory: () => CallMeTrinity, getter: () => int): CallMeTrinity { 30 x.value = getter();
|
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/ |
D | property_descriptor.h | 36 static PropertyDescriptor Accessor(std::string name, RemoteObject getter) in Accessor() argument 38 PropertyDescriptor property(std::move(name), std::move(getter)); in Accessor()
|
/arkcompiler/ets_runtime/test/fuzztest/objectref_fuzzer/ |
D | objectref_fuzzer.cpp | 42 Local<FunctionRef> getter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest() local 45 object->SetAccessorProperty(vm, key, getter, setter); in SetAccessorPropertyFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | accessor_data.h | 52 JSNativePointer *getter = JSNativePointer::Cast(GetGetter().GetTaggedObject()); in CallInternalGet() local 53 auto getFunc = reinterpret_cast<InternalGetFunc>(getter->GetExternalPointer()); in CallInternalGet()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | accessor_data_test.cpp | 93 void *getter = nullptr; in HWTEST_F_L0() local 94 JSHandle<AccessorData> internalAccHancle = factory->NewInternalAccessor(setter, getter); in HWTEST_F_L0() 134 void *getter = nullptr; in HWTEST_F_L0() local 135 JSHandle<AccessorData> internalAccHandle = factory->NewInternalAccessor(setter, getter); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/tutorial/ |
D | interfaces.rst | 64 An interface property can be in a form of a field, a getter, a setter, or both. 66 A property field is just a shortcut notation of a getter/setter pair, and 92 The short notation implicitly defines a private field, and a getter and setter:
|
/arkcompiler/ets_runtime/test/aottest/ldobjbyname_typed_path/ |
D | expect_output.txt | 59 Testing with Array.prototype.pop changed to a getter: 60 - Array.prototype.pop: Array.prototype.pop changed to a getter.
|
/arkcompiler/ets_runtime/test/aottest/analyze_property/not_meet_subtyping/ |
D | expect_output.txt | 15 getter
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | scope.cpp | 187 bool getter{false}; in GetPrivateProperty() local 197 getter = !setter; in GetPrivateProperty() 200 getter = isSetter; in GetPrivateProperty() 201 setter = !getter; in GetPrivateProperty() 212 return {slot, IsMethod(slot), IsStaticMethod(slot), getter, setter, validateMethodSlot}; in GetPrivateProperty()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/07.accessor_declarations/ |
D | getter_static_modifier.ets | 17 desc: Field getter with static modifier
|
D | getter_with_value_type.ets | 17 desc: Field getter declaration with value type.
|
D | getter_inheritance.ets | 17 desc: Field getter inheritance by child class
|
D | getter_with_reference_type.ets | 17 desc: Field getter declaration with reference type.
|
D | getter_private_modifier_out_class.ets | 17 desc: Field getter with private modifier. call out class
|
D | getter_final_modifier.ets | 17 desc: Field getter with final modifier cant override.
|
D | getter_private_modifier_in_class.ets | 17 desc: Field getter with private modifier call in class.
|
D | getter_override_modifier.ets | 17 desc: Field getter with override modifier
|
/arkcompiler/ets_runtime/test/moduletest/calltype/ |
D | expect_output.txt | 26 getter 555
|