/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | indexInfo.cpp | 22 IndexInfo *IndexInfo::Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *gl… in Copy() 24 …return allocator->New<IndexInfo>(type_->Instantiate(allocator, relation, globalTypes), paramName_,… in Copy() 27 void IndexInfo::ToString(std::stringstream &ss, bool numIndex) const in ToString() 44 void IndexInfo::Identical(TypeRelation *relation, IndexInfo *other) in Identical() 49 void IndexInfo::AssignmentTarget(TypeRelation *relation, IndexInfo *source) in AssignmentTarget()
|
D | indexInfo.h | 23 class IndexInfo { 25 IndexInfo(Type *type, util::StringView paramName, bool readonly) in IndexInfo() function 30 … IndexInfo(Type *type, util::StringView paramName, bool readonly, const lexer::SourcePosition &pos) in IndexInfo() function 35 ~IndexInfo() = default; 36 NO_COPY_SEMANTIC(IndexInfo); 37 NO_MOVE_SEMANTIC(IndexInfo); 70 void Identical(TypeRelation *relation, IndexInfo *other); 71 void AssignmentTarget(TypeRelation *relation, IndexInfo *source); 72 …IndexInfo *Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *globalTypes);
|
D | interfaceType.h | 104 const IndexInfo *StringIndexInfo() const override in StringIndexInfo() 109 const IndexInfo *NumberIndexInfo() const override in NumberIndexInfo() 114 IndexInfo *StringIndexInfo() override in StringIndexInfo() 119 IndexInfo *NumberIndexInfo() override in NumberIndexInfo() 138 const IndexInfo *FindIndexInfo(bool findNumberInfo) const; 139 IndexInfo *FindIndexInfo(bool findNumberInfo);
|
D | interfaceType.cpp | 106 IndexInfo *targetNumberInfo = NumberIndexInfo(); in Identical() 107 IndexInfo *sourceNumberInfo = otherInterface->NumberIndexInfo(); in Identical() 117 IndexInfo *targetStringInfo = StringIndexInfo(); in Identical() 118 IndexInfo *sourceStringInfo = otherInterface->StringIndexInfo(); in Identical() 185 const IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) const in FindIndexInfo() 187 const IndexInfo *foundInfo = nullptr; in FindIndexInfo() 202 IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) in FindIndexInfo() 204 IndexInfo *foundInfo = nullptr; in FindIndexInfo()
|
D | objectDescriptor.h | 30 class IndexInfo; variable 55 IndexInfo *stringIndexInfo {}; 56 IndexInfo *numberIndexInfo {};
|
D | objectType.h | 34 class IndexInfo; variable 107 virtual const IndexInfo *StringIndexInfo() const in DEFINE_BITOPS() 112 virtual const IndexInfo *NumberIndexInfo() const in DEFINE_BITOPS() 117 virtual IndexInfo *StringIndexInfo() in DEFINE_BITOPS() 122 virtual IndexInfo *NumberIndexInfo() in DEFINE_BITOPS()
|
D | typeRelation.h | 30 class IndexInfo; variable 92 bool IsIdenticalTo(IndexInfo *source, IndexInfo *target);
|
D | objectType.cpp | 117 IndexInfo *numberInfo = NumberIndexInfo(); in AssignProperties() 118 IndexInfo *stringInfo = StringIndexInfo(); in AssignProperties() 181 IndexInfo *targetInfo = assignNumberInfo ? NumberIndexInfo() : StringIndexInfo(); in AssignIndexInfo() 182 … IndexInfo *sourceInfo = assignNumberInfo ? source->NumberIndexInfo() : source->StringIndexInfo(); in AssignIndexInfo()
|
D | typeRelation.cpp | 107 bool TypeRelation::IsIdenticalTo(IndexInfo *source, IndexInfo *target) in IsIdenticalTo()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | object.cpp | 52 IndexInfo *numberInfo = objType->NumberIndexInfo(); in CheckIndexConstraints() 53 IndexInfo *stringInfo = objType->StringIndexInfo(); in CheckIndexConstraints() 152 …desc->stringIndexInfo = allocator_->New<IndexInfo>(CreateUnionType(std::move(stringInfoTypes)), "x… in ResolveUnionTypeMembers() 156 …desc->numberIndexInfo = allocator_->New<IndexInfo>(CreateUnionType(std::move(numberInfoTypes)), "x… in ResolveUnionTypeMembers() 255 IndexInfo *numberInfo = placeholderObj->AsObjectType()->NumberIndexInfo(); in ResolveIndexInfosOfObjectType() 265 IndexInfo *stringInfo = placeholderObj->AsObjectType()->StringIndexInfo(); in ResolveIndexInfosOfObjectType() 372 IndexInfo *Checker::GetApplicableIndexInfo(Type *type, Type *indexType) in GetApplicableIndexInfo() 427 IndexInfo *indexInfo = GetApplicableIndexInfo(type, indexType); in GetPropertyTypeForIndexType()
|
D | typeCreation.cpp | 157 desc->stringIndexInfo = allocator_->New<IndexInfo>(GlobalAnyType(), "x", readonly); in CreateTupleType() 165 desc->stringIndexInfo = allocator_->New<IndexInfo>(GlobalAnyType(), "x", readonly); in CreateTupleType()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsIndexSignature.cpp | 57 checker::IndexInfo *info = in Check() 58 … checker->Allocator()->New<checker::IndexInfo>(indexType, paramName, readonly_, this->Start()); in Check()
|
D | tsTupleType.cpp | 108 …desc->numberIndexInfo = checker->Allocator()->New<checker::IndexInfo>(numberIndexType, "x", false); in GetType()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | objectExpression.cpp | 456 … checker->Allocator()->New<checker::IndexInfo>(checker->GlobalAnyType(), indexInfoName, false); in CheckPattern() 729 desc->numberIndexInfo = checker->Allocator()->New<checker::IndexInfo>( in Check() 734 desc->stringIndexInfo = checker->Allocator()->New<checker::IndexInfo>( in Check()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.h | 409 IndexInfo *GetApplicableIndexInfo(Type *type, Type *indexType);
|