Home
last modified time | relevance | path

Searched refs:InterfaceType (Results 1 – 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DinterfaceType.cpp27 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()
DinterfaceType.h23 class InterfaceType : public ObjectType {
25 InterfaceType(ArenaAllocator *allocator, util::StringView name, ObjectDescriptor *desc) in InterfaceType() function
DtypeMapping.h50 _(ObjectType::ObjectTypeKind::INTERFACE, InterfaceType)
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
DinterfaceType.cpp26 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()
DinterfaceType.h22 class InterfaceType : public ObjectType {
24 InterfaceType(ArenaAllocator *allocator, util::StringView name, ObjectDescriptor *desc) in InterfaceType() function
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsInterfaceDeclaration.cpp57 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/
DTypeCreateInterfaceTest.ets29 function getIfaces(): InterfaceType[] {
32 let r = new InterfaceType[n]
DTypeMethodResolveConstructor.ets22 const AType = Type.resolve('LA;') as InterfaceType
DTypeInterfaceTypeTest.ets65 function findMethodByName(ct: InterfaceType, name: string): Method | null {
/arkcompiler/ets_frontend/ets2panda/checker/types/
DtypeMapping.h69 _(ObjectType::ObjectTypeKind::INTERFACE, InterfaceType)
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h112 …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/
DTSchecker.h305 void ResolveDeclaredMembers(InterfaceType *type);
315 void ResolveInterfaceOrClassTypeMembers(InterfaceType *type);
319 ArenaVector<ObjectType *> GetBaseTypes(InterfaceType *type);
Dchecker.h57 class InterfaceType; variable
64 std::unordered_map<util::StringView, std::pair<varbinder::LocalVariable *, InterfaceType *>>;
DTSAnalyzer.cpp2128 …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/
DtypeChecker.ts25 InterfaceType,
169 let interefaceType = new InterfaceType(<ts.InterfaceDeclaration>typeDeclNode);
438 let interfaceType = new InterfaceType(interfaceDeclNode);
/arkcompiler/ets_frontend/es2panda/typescript/core/
Dobject.cpp164 void Checker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers()
443 ArenaVector<ObjectType *> Checker::GetBaseTypes(InterfaceType *type) in GetBaseTypes()
505 void Checker::ResolveDeclaredMembers(InterfaceType *type) in ResolveDeclaredMembers()
Dhelpers.cpp473 resolvedType = allocator_->New<InterfaceType>(allocator_, var->Name(), desc); in GetTypeFromClassOrInterfaceReference()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
Dobject.cpp162 void TSChecker::ResolveInterfaceOrClassTypeMembers(InterfaceType *type) in ResolveInterfaceOrClassTypeMembers()
438 ArenaVector<ObjectType *> TSChecker::GetBaseTypes(InterfaceType *type) in GetBaseTypes()
497 void TSChecker::ResolveDeclaredMembers(InterfaceType *type) in ResolveDeclaredMembers()
Dhelpers.cpp473 resolvedType = Allocator()->New<InterfaceType>(Allocator(), var->Name(), desc); in GetTypeFromClassOrInterfaceReference()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DType.ets206 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 …]
DTypeCreator.ets384 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/
DtypeSystem.h911 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);
DtypeExtractor.cpp420 InterfaceType interfaceType(this, node->AsTSInterfaceDeclaration(), name); in GetTypeIndexFromInterfaceNode()
754 InterfaceType interfaceType(this, interfaceDef, name); in HandleInterfaceDeclaration()
/arkcompiler/ets_frontend/ts2panda/src/base/
DtypeSystem.ts821 export class InterfaceType extends BaseType { class
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …2144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.object… field in /src/base/typeSystem.ts.anonymousFunction731221c3e900.b