Home
last modified time | relevance | path

Searched refs:getter (Results 1 – 25 of 92) sorted by relevance

1234

/arkcompiler/ets_runtime/test/sharedtest/definesendableclass/
Dexpect_output.txt14 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/
DinterfacePropertyDeclarations.cpp117 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/
Dstownbyvalue.ts30 get getter(): any { variable
36 print(info.getter);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/generic/
DcallFromAsyncLambda.ets35 let getter = new Getter();
38 let str = getter.get<string>("F");
41 let arr2: Int[] = getter.get<Int>(arr);
Dgeneric_03.ets31 let getter = new Getter();
33 let str = getter.get<string>(a);
/arkcompiler/ets_frontend/ts2panda/src/expression/
DobjectLiteralExpression.ts155 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/
DTypeMethodTest.ets132 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/
Dtype-call-instantiate_9.ets28 static instantiate(factory: () => CallMeTrinity, getter: () => int): CallMeTrinity {
30 x.value = getter();
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dproperty_descriptor.h36 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/
Dobjectref_fuzzer.cpp42 Local<FunctionRef> getter = FunctionRef::New(vm, nativeFunc); in SetAccessorPropertyFuzzTest() local
45 object->SetAccessorProperty(vm, key, getter, setter); in SetAccessorPropertyFuzzTest()
/arkcompiler/ets_runtime/ecmascript/
Daccessor_data.h52 JSNativePointer *getter = JSNativePointer::Cast(GetGetter().GetTaggedObject()); in CallInternalGet() local
53 auto getFunc = reinterpret_cast<InternalGetFunc>(getter->GetExternalPointer()); in CallInternalGet()
/arkcompiler/ets_runtime/ecmascript/tests/
Daccessor_data_test.cpp93 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/
Dinterfaces.rst64 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/
Dexpect_output.txt59 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/
Dexpect_output.txt15 getter
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp187 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/
Dgetter_static_modifier.ets17 desc: Field getter with static modifier
Dgetter_with_value_type.ets17 desc: Field getter declaration with value type.
Dgetter_inheritance.ets17 desc: Field getter inheritance by child class
Dgetter_with_reference_type.ets17 desc: Field getter declaration with reference type.
Dgetter_private_modifier_out_class.ets17 desc: Field getter with private modifier. call out class
Dgetter_final_modifier.ets17 desc: Field getter with final modifier cant override.
Dgetter_private_modifier_in_class.ets17 desc: Field getter with private modifier call in class.
Dgetter_override_modifier.ets17 desc: Field getter with override modifier
/arkcompiler/ets_runtime/test/moduletest/calltype/
Dexpect_output.txt26 getter 555

1234