Lines Matching refs:getter
2483 ir::MethodDefinition *getter, ir::MethodDefinition *setter, const bool inExternal)
2486 for (auto &method : {getter, setter}) {
2491 const auto mflag = method == getter ? ir::ModifierFlags::GETTER : ir::ModifierFlags::SETTER;
2492 const auto tflag = method == getter ? TypeFlag::GETTER : TypeFlag::SETTER;
2521 ir::MethodDefinition *getter = GenerateDefaultGetterSetter(interfaceProp, classProp, scope, false, this);
2522 classDef->Body().push_back(getter);
2524 const auto &name = getter->Key()->AsIdentifier()->Name();
2532 auto *const decl = Allocator()->New<varbinder::FunctionDecl>(Allocator(), name, getter);
2537 for (const auto &method : {getter, setter}) {
2546 SetupGetterSetterFlags(originalProp, classType, getter, setter, HasStatus(CheckerStatus::IN_EXTERNAL));
2549 getter->Variable()->TsType()->AsETSFunctionType()->AddCallSignature(
2553 getter->Function()->Id()->SetVariable(var);
2555 getter->AddOverload(setter);