Searched refs:ContainingClass (Results 1 - 14 of 14) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | validateHelpers.cpp | 63 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 D | function.cpp | 671 !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 D | object.cpp | 398 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 D | typeCreation.cpp | 228 SavedCheckerContext savedContext(this, Context().Status(), Context().ContainingClass(), in CreateEnumTypeFromEnumDeclaration()
|
H A D | helpers.cpp | 138 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 D | util.h | 26 checker::ETSObjectType const *ContainingClass(const ir::AstNode *ast);
|
H A D | util.cpp | 32 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 D | tsThisType.cpp | 69 return checker->Context().ContainingClass(); in GetType()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | opAssignment.cpp | 222 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 D | checkerContext.h | 127 [[nodiscard]] ETSObjectType *ContainingClass() const noexcept
|
H A D | ETSAnalyzerHelpers.cpp | 116 checker->Context().ContainingClass()); in DoBodyTypeChecking() 120 !checker->Context().ContainingClass()->HasObjectFlag(checker::ETSObjectFlags::GLOBAL)) { in DoBodyTypeChecking() 403 return checker->Context().ContainingClass(); in ChooseCalleeObj()
|
H A D | ETSchecker.cpp | 286 checker::SavedCheckerContext savedContext(this, Context().Status(), Context().ContainingClass()); in CheckProgram()
|
H A D | ETSAnalyzer.cpp | 84 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 D | etsObjectType.cpp | 670 if (source->Variable() == checkerContext.ContainingClass()->SuperType()->Variable()) { in IsSupertypeOf()
|
Completed in 27 milliseconds