Home
last modified time | relevance | path

Searched refs:memberIndex (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start() local
70 targetElementType = GetBestMatchingType(checker_->CreateStringLiteralType(memberIndex), it); in Start()
73 checker_->GetPropertyTypeForIndexType(targetType_, checker_->CreateStringLiteralType(memberIndex)); in Start()
H A DdestructuringContext.cpp227 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex() local
228 varbinder::Variable *memberVar = tuple->GetProperty(memberIndex, false); in GetTypeFromTupleByIndex()
331 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest() local
332 auto *memberVar = varbinder::Scope::CreateVar(checker_->Allocator(), memberIndex, in CreateTupleTypeForRest()
H A Dfunction.cpp156 util::StringView memberIndex = util::Helpers::ToStringView(Allocator(), index); in CreateParameterTypeForArrayAssignmentPattern() local
158 Allocator(), memberIndex, varbinder::VariableFlags::PROPERTY | varbinder::VariableFlags::OPTIONAL, nullptr); in CreateParameterTypeForArrayAssignmentPattern()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A DtypeElaborationContext.cpp65 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in Start() local
70 targetElementType = GetBestMatchingType(checker_->CreateStringLiteralType(memberIndex), it); in Start()
73 checker_->GetPropertyTypeForIndexType(targetType_, checker_->CreateStringLiteralType(memberIndex)); in Start()
H A DdestructuringContext.cpp222 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), index_); in GetTypeFromTupleByIndex() local
223 binder::Variable *memberVar = tuple->GetProperty(memberIndex, false); in GetTypeFromTupleByIndex()
327 util::StringView memberIndex = util::Helpers::ToStringView(checker_->Allocator(), iterIndex); in CreateTupleTypeForRest() local
329 binder::Scope::CreateVar(checker_->Allocator(), memberIndex, binder::VariableFlags::PROPERTY, nullptr); in CreateTupleTypeForRest()
H A Dfunction.cpp158 util::StringView memberIndex = util::Helpers::ToStringView(allocator_, index); in CreateParameterTypeForArrayAssignmentPattern() local
160 allocator_, memberIndex, binder::VariableFlags::PROPERTY | binder::VariableFlags::OPTIONAL, nullptr); in CreateParameterTypeForArrayAssignmentPattern()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsTupleType.cpp94 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType() local
97 varbinder::Scope::CreateVar(checker->Allocator(), memberIndex, varbinder::VariableFlags::PROPERTY, it); in GetType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsTupleType.cpp59 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in GetType() local
62 binder::Scope::CreateVar(checker->Allocator(), memberIndex, binder::VariableFlags::PROPERTY, it); in GetType()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DarrayExpression.cpp246 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check() local
248 binder::Scope::CreateVar(checker->Allocator(), memberIndex, binder::VariableFlags::PROPERTY, nullptr); in Check()
361 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern() local
364 binder::Scope::CreateVar(checker->Allocator(), memberIndex, binder::VariableFlags::PROPERTY, *it); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DarrayExpression.cpp338 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index - 1); in CheckPattern() local
341 varbinder::Scope::CreateVar(checker->Allocator(), memberIndex, varbinder::VariableFlags::PROPERTY, *it); in CheckPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp280 util::StringView memberIndex = util::Helpers::ToStringView(checker->Allocator(), index); in Check() local
282 checker->Allocator(), memberIndex, varbinder::VariableFlags::PROPERTY, nullptr); in Check()

Completed in 11 milliseconds