/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | interfaceType.cpp | 27 void InterfaceType::ToString(std::stringstream &ss) const in ToString() 46 void InterfaceType::Identical(TypeRelation *relation, Type *other) in Identical() 52 InterfaceType *otherInterface = other->AsObjectType()->AsInterfaceType(); in Identical() 128 Type *InterfaceType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHold… in Instantiate() 134 Type *newInterfaceType = allocator->New<InterfaceType>(allocator, name_, copiedDesc); in Instantiate() 144 void InterfaceType::CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCa… in CollectSignatures() 161 void InterfaceType::CollectProperties(ArenaVector<binder::LocalVariable *> *collectedPropeties) con… in CollectProperties() 184 const IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) const in FindIndexInfo() 201 IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) in FindIndexInfo() 218 TypeFacts InterfaceType::GetTypeFacts() const in GetTypeFacts()
|
D | interfaceType.h | 23 class InterfaceType : public ObjectType { 25 InterfaceType(ArenaAllocator *allocator, util::StringView name, ObjectDescriptor *desc) in InterfaceType() function
|
D | typeMapping.h | 50 _(ObjectType::ObjectTypeKind::INTERFACE, InterfaceType)
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/ |
D | interfaceType.cpp | 26 void InterfaceType::ToString(std::stringstream &ss) const in ToString() 45 void InterfaceType::Identical(TypeRelation *relation, Type *other) in Identical() 51 InterfaceType *otherInterface = other->AsObjectType()->AsInterfaceType(); in Identical() 128 Type *InterfaceType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHold… in Instantiate() 134 Type *newInterfaceType = allocator->New<InterfaceType>(allocator, name_, copiedDesc); in Instantiate() 144 void InterfaceType::CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCa… in CollectSignatures() 161 void InterfaceType::CollectProperties(ArenaVector<varbinder::LocalVariable *> *collectedProperties)… in CollectProperties() 184 const IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) const in FindIndexInfo() 201 IndexInfo *InterfaceType::FindIndexInfo(bool findNumberInfo) in FindIndexInfo() 218 TypeFacts InterfaceType::GetTypeFacts() const in GetTypeFacts()
|
D | interfaceType.h | 22 class InterfaceType : public ObjectType { 24 InterfaceType(ArenaAllocator *allocator, util::StringView name, ObjectDescriptor *desc) in InterfaceType() function
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsInterfaceDeclaration.cpp | 57 void CheckInheritedPropertiesAreIdentical(checker::Checker *checker, checker::InterfaceType *type, in CheckInheritedPropertiesAreIdentical() 107 …resolvedType = checker->Allocator()->New<checker::InterfaceType>(checker->Allocator(), id_->Name()… in Check() 112 checker::InterfaceType *resolvedInterface = resolvedType->AsObjectType()->AsInterfaceType(); in Check()
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
D | TypeCreateInterfaceTest.ets | 29 function getIfaces(): InterfaceType[] { 32 let r = new InterfaceType[n]
|
D | TypeMethodResolveConstructor.ets | 22 const AType = Type.resolve('LA;') as InterfaceType
|
D | TypeInterfaceTypeTest.ets | 65 function findMethodByName(ct: InterfaceType, name: string): Method | null {
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
D | typeMapping.h | 69 _(ObjectType::ObjectTypeKind::INTERFACE, InterfaceType)
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.h | 112 …rtyMap = std::unordered_map<util::StringView, std::pair<binder::LocalVariable *, InterfaceType *>>; 395 void ResolveDeclaredMembers(InterfaceType *type); 406 void ResolveInterfaceOrClassTypeMembers(InterfaceType *type); 410 ArenaVector<ObjectType *> GetBaseTypes(InterfaceType *type);
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
D | TSchecker.h | 305 void ResolveDeclaredMembers(InterfaceType *type); 315 void ResolveInterfaceOrClassTypeMembers(InterfaceType *type); 319 ArenaVector<ObjectType *> GetBaseTypes(InterfaceType *type);
|
D | checker.h | 57 class InterfaceType; variable 64 std::unordered_map<util::StringView, std::pair<varbinder::LocalVariable *, InterfaceType *>>;
|
D | TSAnalyzer.cpp | 2128 …oid CheckInheritedPropertiesAreIdentical(checker::TSChecker *checker, checker::InterfaceType *type, in CheckInheritedPropertiesAreIdentical() 2180 … checker->Allocator()->New<checker::InterfaceType>(checker->Allocator(), st->Id()->Name(), desc); in Check() 2185 checker::InterfaceType *resolvedInterface = resolvedType->AsObjectType()->AsInterfaceType(); in Check()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | typeChecker.ts | 25 InterfaceType, 169 let interefaceType = new InterfaceType(<ts.InterfaceDeclaration>typeDeclNode); 438 let interfaceType = new InterfaceType(interfaceDeclNode);
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | object.cpp | 164 void Checker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers() 443 ArenaVector<ObjectType *> Checker::GetBaseTypes(InterfaceType *type) in GetBaseTypes() 505 void Checker::ResolveDeclaredMembers(InterfaceType *type) in ResolveDeclaredMembers()
|
D | helpers.cpp | 473 resolvedType = allocator_->New<InterfaceType>(allocator_, var->Name(), desc); in GetTypeFromClassOrInterfaceReference()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
D | object.cpp | 162 void TSChecker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers() 438 ArenaVector<ObjectType *> TSChecker::GetBaseTypes(InterfaceType *type) in GetBaseTypes() 497 void TSChecker::ResolveDeclaredMembers(InterfaceType *type) in ResolveDeclaredMembers()
|
D | helpers.cpp | 473 resolvedType = Allocator()->New<InterfaceType>(Allocator(), var->Name(), desc); in GetTypeFromClassOrInterfaceReference()
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
D | Type.ets | 206 return new InterfaceType(td) 1620 public getInterface(i: long): InterfaceType { 1621 return Type.resolve(TypeAPIGetInterface(this.td, i))! as InterfaceType 1882 if (other instanceof InterfaceType) { 1883 let iface = other as InterfaceType 1906 export final class InterfaceType extends Type { 1960 * Checks for equality this instance with provided object, treated as a InterfaceType 1964 * @returns true if object also has InterfaceType and 1968 return to instanceof InterfaceType && this.td == (to as InterfaceType).td 1976 if (other instanceof InterfaceType) { [all …]
|
D | TypeCreator.ets | 384 public addInterface(iface: InterfaceType): ClassTypeCreator { 480 * Creator for {@link InterfaceType} 500 public override create(): InterfaceType { 501 return super.create() as InterfaceType 509 public addInterface(base: InterfaceType): InterfaceTypeCreator {
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeSystem.h | 911 class InterfaceType : public BaseType { 913 explicit InterfaceType(TypeExtractor *extractor, const ir::TSInterfaceDeclaration *interfaceDef, in InterfaceType() function 940 ~InterfaceType() = default; 941 NO_COPY_SEMANTIC(InterfaceType); 942 NO_MOVE_SEMANTIC(InterfaceType);
|
D | typeExtractor.cpp | 420 InterfaceType interfaceType(this, node->AsTSInterfaceDeclaration(), name); in GetTypeIndexFromInterfaceNode() 754 InterfaceType interfaceType(this, interfaceDef, name); in HandleInterfaceDeclaration()
|
/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | typeSystem.ts | 821 export class InterfaceType extends BaseType { class
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …2144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.object… field in /src/base/typeSystem.ts.anonymousFunction731221c3e900.b
|