Home
last modified time | relevance | path

Searched refs:ContainingClass (Results 1 - 14 of 14) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DvalidateHelpers.cpp63 if ((Context().ContainingClass() == obj || in ValidatePropertyAccess()
64 Context().ContainingClass()->GetOriginalBaseType() == obj->GetOriginalBaseType()) && in ValidatePropertyAccess()
69 if (var->HasFlag(varbinder::VariableFlags::PROTECTED) && Context().ContainingClass()->IsDescendantOf(obj) && in ValidatePropertyAccess()
74 auto *currentOutermost = Context().ContainingClass()->OutermostClass(); in ValidatePropertyAccess()
H A Dfunction.cpp671 !IsSignatureAccessible(sig, Context().ContainingClass(), Relation())) { in CollectSignatures()
680 !IsSignatureAccessible(sig, Context().ContainingClass(), Relation())) { in CollectSignatures()
1071 signature->SetOwner(Context().ContainingClass()); in ComposeSignature()
1157 thisVar->SetTsType(Context().ContainingClass()); in ComposeSignatureInfo()
1649 auto *containingClass = Context().ContainingClass(); in ValidateSignatureAccessibility()
H A Dobject.cpp398 auto *enclosingClass = Context().ContainingClass(); in BuildBasicClassProperties()
1028 if (Context().ContainingClass() != classType) {
1029 classType->SetEnclosingType(Context().ContainingClass());
1050 if (classDef->IsStatic() && !Context().ContainingClass()->HasObjectFlag(ETSObjectFlags::GLOBAL)) {
H A DtypeCreation.cpp228 SavedCheckerContext savedContext(this, Context().Status(), Context().ContainingClass(), in CreateEnumTypeFromEnumDeclaration()
H A Dhelpers.cpp138 const auto [class_var, class_type] = FindVariableInClassOrEnclosing(ident->Name(), Context().ContainingClass()); in ExtraCheckForResolvedError()
275 ValidatePropertyAccess(resolved, Context().ContainingClass(), ident->Start()); in ResolveIdentifier()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/
H A Dutil.h26 checker::ETSObjectType const *ContainingClass(const ir::AstNode *ast);
H A Dutil.cpp32 checker::ETSObjectType const *ContainingClass(const ir::AstNode *ast) in ContainingClass() function in ark::es2panda::compiler::checker
117 auto *containingClass = ContainingClass(node); in Recheck()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsThisType.cpp69 return checker->Context().ContainingClass(); in GetType()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DopAssignment.cpp222 checker::SavedCheckerContext scc {checker, checker::CheckerStatus::IGNORE_VISIBILITY, ContainingClass(assignment)}; in HandleOpAssignment()
309 checker::SavedCheckerContext scc {checker, checker::CheckerStatus::IGNORE_VISIBILITY, ContainingClass(upd)}; in HandleUpdate()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DcheckerContext.h127 [[nodiscard]] ETSObjectType *ContainingClass() const noexcept
H A DETSAnalyzerHelpers.cpp116 checker->Context().ContainingClass()); in DoBodyTypeChecking()
120 !checker->Context().ContainingClass()->HasObjectFlag(checker::ETSObjectFlags::GLOBAL)) { in DoBodyTypeChecking()
403 return checker->Context().ContainingClass(); in ChooseCalleeObj()
H A DETSchecker.cpp286 checker::SavedCheckerContext savedContext(this, Context().Status(), Context().ContainingClass()); in CheckProgram()
H A DETSAnalyzer.cpp84 checker->Context().ContainingClass(), in Check()
115 checker->Context().ContainingClass()); in Check()
754 checker->Context().ContainingClass()); in Check()
1595 expr->SetTsType(checker->CheckThisOrSuperAccess(expr, checker->Context().ContainingClass()->SuperType(), "super")); in Check()
1657 expr->SetTsType(checker->CheckThisOrSuperAccess(expr, checker->Context().ContainingClass(), "this")); in Check()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsObjectType.cpp670 if (source->Variable() == checkerContext.ContainingClass()->SuperType()->Variable()) { in IsSupertypeOf()

Completed in 27 milliseconds