Home
last modified time | relevance | path

Searched refs:GetTypeOfVariable (Results 1 - 25 of 27) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dobject.cpp57 Type *propType = GetTypeOfVariable(it); in CheckIndexConstraints()
68 Type *propType = GetTypeOfVariable(it); in CheckIndexConstraints()
332 collectedTypes.push_back(GetTypeOfVariable(prop)); in GetPropertyOfUnionType()
409 Type *propType = GetTypeOfVariable(prop); in GetPropertyTypeForIndexType()
541 Type *targetType = GetTypeOfVariable(prop); in ValidateInterfaceMemberRedeclaration()
542 Type *sourceType = GetTypeOfVariable(found); in ValidateInterfaceMemberRedeclaration()
H A Dhelpers.cpp468 Type *TSChecker::GetTypeOfVariable(varbinder::Variable *var) in GetTypeOfVariable() function in ark::es2panda::checker::TSChecker
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
H A DobjectType.cpp129 Type *targetType = relation->GetChecker()->GetTypeOfVariable(it); in AssignProperties()
132 Type *sourceType = relation->GetChecker()->GetTypeOfVariable(found); in AssignProperties()
203 if (!relation->IsAssignableTo(relation->GetChecker()->GetTypeOfVariable(it), targetInfo->GetType())) { in AssignIndexInfo()
H A DinterfaceType.cpp53 Type *targetType = relation->GetChecker()->GetTypeOfVariable(targetProp); in CheckVarType()
54 Type *sourceType = relation->GetChecker()->GetTypeOfVariable(sourceProp); in CheckVarType()
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DobjectType.cpp133 Type *targetType = relation->GetChecker()->GetTypeOfVariable(it); in AssignProperties()
136 Type *sourceType = relation->GetChecker()->GetTypeOfVariable(found); in AssignProperties()
206 if (!relation->IsAssignableTo(relation->GetChecker()->GetTypeOfVariable(it), targetInfo->GetType())) { in AssignIndexInfo()
H A DinterfaceType.cpp60 Type *targetType = relation->GetChecker()->GetTypeOfVariable(targetProp); in IsPropertiesIdentical()
61 Type *sourceType = relation->GetChecker()->GetTypeOfVariable(sourceProp); in IsPropertiesIdentical()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DJSchecker.h37 Type *GetTypeOfVariable([[maybe_unused]] varbinder::Variable *var) override
H A DASchecker.h37 Type *GetTypeOfVariable([[maybe_unused]] varbinder::Variable *var) override
H A DTSAnalyzer.cpp598 expr->SetTsType(checker->GetTypeOfVariable(expr->Variable())); in Check()
659 checker::Type *propType = checker->GetTypeOfVariable(prop); in Check()
1926 checker::Type *sourceType = checker->GetTypeOfVariable(inheritedProp); in CheckInheritedPropertiesAreIdentical()
1927 checker::Type *targetType = checker->GetTypeOfVariable(res->second.first); in CheckInheritedPropertiesAreIdentical()
2015 return checker->GetTypeOfVariable(prop); in Check()
H A DTSchecker.h293 Type *GetTypeOfVariable(varbinder::Variable *var) override;
H A Dchecker.h163 virtual Type *GetTypeOfVariable(varbinder::Variable *var) = 0;
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DmemberExpression.cpp187 return {checker->GetTypeOfVariable(var), var}; in ResolveObjectMember()
189 return {checker->GetTypeOfVariable(resolveRes[0]->Variable()), nullptr}; in ResolveObjectMember()
192 auto classMethodType = checker->GetTypeOfVariable(resolveRes[1]->Variable()); in ResolveObjectMember()
193 auto extensionMethodType = checker->GetTypeOfVariable(resolveRes[0]->Variable()); in ResolveObjectMember()
329 auto &signatures = checker->GetTypeOfVariable(method)->AsETSFunctionType()->CallSignatures(); in CheckIndexAccessMethod()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsInterfaceDeclaration.cpp85 checker::Type *sourceType = checker->GetTypeOfVariable(inheritedProp); in CheckInheritedPropertiesAreIdentical()
86 checker::Type *targetType = checker->GetTypeOfVariable(res->second.first); in CheckInheritedPropertiesAreIdentical()
H A DtsQualifiedName.cpp43 return checker->GetTypeOfVariable(prop); in Check()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dobject.cpp59 Type *propType = GetTypeOfVariable(it); in CheckIndexConstraints()
70 Type *propType = GetTypeOfVariable(it); in CheckIndexConstraints()
341 collectedTypes.push_back(GetTypeOfVariable(prop)); in GetPropertyOfUnionType()
422 Type *propType = GetTypeOfVariable(prop); in GetPropertyTypeForIndexType()
548 Type *targetType = GetTypeOfVariable(prop); in ValidateInterfaceMemberRedeclaration()
549 Type *sourceType = GetTypeOfVariable(found); in ValidateInterfaceMemberRedeclaration()
H A Dhelpers.cpp359 Type *Checker::GetTypeOfVariable(binder::Variable *var) in GetTypeOfVariable() function in panda::es2panda::checker::Checker
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A Didentifier.cpp94 return checker->GetTypeOfVariable(Variable()); in Check()
H A DmemberExpression.cpp154 checker::Type *propType = checker->GetTypeOfVariable(prop); in Check()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DforOfStatement.cpp171 auto &signatures = checker->GetTypeOfVariable(method)->AsETSFunctionType()->CallSignatures(); in CheckIteratorMethodForObject()
199 auto &nextSignatures = checker->GetTypeOfVariable(nextMethod)->AsETSFunctionType()->CallSignatures(); in CheckIteratorMethodForObject()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCheckingHelpers.cpp412 Type *ETSChecker::GetTypeOfVariable(varbinder::Variable *const var)
519 return GuaranteedTypeForUncheckedCast(GetTypeOfVariable(baseProp), GetTypeOfVariable(prop));
537 const auto *const targetType = GetTypeOfVariable(id->Variable());
H A Dobject.cpp587 GetTypeOfVariable(prop); in CollectAbstractSignaturesFromObject()
777 GetTypeOfVariable(prop);
979 GetTypeOfVariable(prop);
1604 if (globalFunctionVar == nullptr || !ExtensionETSFunctionType(this->GetTypeOfVariable(globalFunctionVar))) {
1804 GetTypeOfVariable(prop);
1814 auto *targetType = GetTypeOfVariable(target_ident->Variable());
1967 GetTypeOfVariable(found);
H A DvalidateHelpers.cpp207 auto *const resolvedType = GetApparentType(smartType != nullptr ? smartType : GetTypeOfVariable(resolved)); in ValidateResolvedIdentifier()
H A Dhelpers.cpp246 return GetTypeOfVariable(resolved); in ResolveIdentifier()
268 return GetTypeOfVariable(resolved); in ResolveIdentifier()
278 return GetTypeOfVariable(resolved); in ResolveIdentifier()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
H A DetsObjectType.cpp796 relation->GetChecker()->AsETSChecker()->GetTypeOfVariable(prop), allocator, relation, globalTypes); in CopyProperty()
857 auto *const varType = ETSChecker::IsVariableGetterSetter(prop) ? prop->TsType() : checker->GetTypeOfVariable(prop); in CopyPropertyWithTypeArguments()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h366 Type *GetTypeOfVariable(binder::Variable *var);

Completed in 23 milliseconds

12