/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | signature.h | 55 class Signature { 57 …Signature(SignatureInfo *signatureInfo, Type *returnType) : signatureInfo_(signatureInfo), returnT… in Signature() function 61 ~Signature() = default; 62 NO_COPY_SEMANTIC(Signature); 63 NO_MOVE_SEMANTIC(Signature); 115 …Signature *Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *globalTypes); 118 void Identical(TypeRelation *relation, Signature *other); 119 void AssignmentTarget(TypeRelation *relation, Signature *source);
|
D | objectType.h | 33 class Signature; variable 97 virtual ArenaVector<Signature *> CallSignatures() in DEFINE_BITOPS() 102 virtual ArenaVector<Signature *> ConstructSignatures() in DEFINE_BITOPS() 158 void AddCallSignature(Signature *signature) in DEFINE_BITOPS() 163 void AddConstructSignature(Signature *signature) in DEFINE_BITOPS() 183 static bool SignatureRelatedToSomeSignature(TypeRelation *relation, Signature *sourceSignature, in DEFINE_BITOPS() 184 ArenaVector<Signature *> *targetSignatures); in DEFINE_BITOPS() 187 … const ArenaVector<Signature *> &sourceSignatures, in DEFINE_BITOPS() 188 … const ArenaVector<Signature *> &targetSignatures); in DEFINE_BITOPS()
|
D | signature.cpp | 20 Signature *Signature::Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *gl… in Copy() 30 return allocator->New<Signature>(copiedInfo, copiedReturnType); in Copy() 33 void Signature::ToString(std::stringstream &ss, const binder::Variable *variable, bool printAsMetho… in ToString() 76 void Signature::Identical(TypeRelation *relation, Signature *other) in Identical() 102 void Signature::AssignmentTarget(TypeRelation *relation, Signature *source) in AssignmentTarget()
|
D | objectType.cpp | 26 … const ArenaVector<Signature *> &sourceSignatures, in EachSignatureRelatedToSomeSignature() 27 … const ArenaVector<Signature *> &targetSignatures) in EachSignatureRelatedToSomeSignature() 29 ArenaVector<Signature *> targetCopy = targetSignatures; in EachSignatureRelatedToSomeSignature() 31 …l_of(sourceSignatures.begin(), sourceSignatures.end(), [relation, &targetCopy](Signature *source) { in EachSignatureRelatedToSomeSignature() 36 bool ObjectType::SignatureRelatedToSomeSignature(TypeRelation *relation, Signature *sourceSignature, in SignatureRelatedToSomeSignature() 37 ArenaVector<Signature *> *targetSignatures) in SignatureRelatedToSomeSignature() 157 …ArenaVector<Signature *> targetSignatures = assignCallSignatures ? CallSignatures() : ConstructSig… in AssignSignatures() 158 ArenaVector<Signature *> sourceSignatures = in AssignSignatures()
|
D | objectDescriptor.h | 29 class Signature; variable 53 ArenaVector<Signature *> callSignatures; 54 ArenaVector<Signature *> constructSignatures;
|
D | interfaceType.h | 90 ArenaVector<Signature *> CallSignatures() override in CallSignatures() 92 ArenaVector<Signature *> signatures(allocator_->Adapter()); in CallSignatures() 97 ArenaVector<Signature *> ConstructSignatures() override in ConstructSignatures() 99 ArenaVector<Signature *> signatures(allocator_->Adapter()); in ConstructSignatures() 136 …void CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCallSignatures) …
|
D | typeRelation.h | 29 class Signature; variable 91 bool IsIdenticalTo(Signature *source, Signature *target);
|
D | interfaceType.cpp | 80 const ArenaVector<Signature *> &targetCallSignatures = CallSignatures(); in Identical() 81 const ArenaVector<Signature *> &sourceCallSignatures = otherInterface->CallSignatures(); in Identical() 93 const ArenaVector<Signature *> &targetConstructSignatures = ConstructSignatures(); in Identical() 94 … const ArenaVector<Signature *> &sourceConstructSignatures = otherInterface->ConstructSignatures(); in Identical() 145 void InterfaceType::CollectSignatures(ArenaVector<Signature *> *collectedSignatures, bool collectCa… in CollectSignatures()
|
D | typeRelation.cpp | 94 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | typeCreation.cpp | 126 Type *Checker::CreateObjectTypeWithCallSignature(Signature *callSignature) in CreateObjectTypeWithCallSignature() 133 Type *Checker::CreateObjectTypeWithConstructSignature(Signature *constructSignature) in CreateObjectTypeWithConstructSignature() 140 Type *Checker::CreateFunctionTypeWithSignature(Signature *callSignature) in CreateFunctionTypeWithSignature() 147 Type *Checker::CreateConstructorTypeWithSignature(Signature *constructSignature) in CreateConstructorTypeWithSignature()
|
D | function.cpp | 590 …Signature *overloadSignature = allocator_->New<checker::Signature>(overloadSignatureInfo, returnTy… in InferFunctionDeclarationType() 599 …auto *bodyCallSignature = allocator_->New<checker::Signature>(signatureInfo, GlobalResolvingReturn… in InferFunctionDeclarationType() 684 ArgRange Checker::GetArgRange(const ArenaVector<Signature *> &signatures, ArenaVector<Signature *> … in GetArgRange() 711 bool Checker::CallMatchesSignature(const ArenaVector<ir::Expression *> &args, Signature *signature,… in CallMatchesSignature() 746 Type *Checker::resolveCallOrNewExpression(const ArenaVector<Signature *> &signatures, in resolveCallOrNewExpression() 753 ArenaVector<checker::Signature *> potentialSignatures(allocator_->Adapter()); in resolveCallOrNewExpression()
|
D | object.cpp | 116 ArenaVector<Signature *> callSignatures(allocator_->Adapter()); in ResolveUnionTypeMembers() 117 ArenaVector<Signature *> constructSignatures(allocator_->Adapter()); in ResolveUnionTypeMembers()
|
D | helpers.cpp | 401 … auto *callSignature = allocator_->New<checker::Signature>(signatureInfo, GlobalAnyType()); in GetTypeOfVariable()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | pandasm.ts | 29 export class Signature { class 66 public s: Signature; // signature 83 signature: Signature,
|
D | ts2panda.ts | 45 Signature, 89 static getFuncSignature(pg: PandaGen): Signature { 90 return new Signature(pg.getParametersCount());
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.h | 376 Type *CreateFunctionTypeWithSignature(Signature *callSignature); 377 Type *CreateConstructorTypeWithSignature(Signature *constructSignature); 385 Type *CreateObjectTypeWithCallSignature(Signature *callSignature); 386 Type *CreateObjectTypeWithConstructSignature(Signature *constructSignature); 433 …ArgRange GetArgRange(const ArenaVector<Signature *> &signatures, ArenaVector<Signature *> *potenti… 435 …bool CallMatchesSignature(const ArenaVector<ir::Expression *> &args, Signature *signature, bool th… 436 Type *resolveCallOrNewExpression(const ArenaVector<Signature *> &signatures,
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | functionExpression.cpp | 57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
|
D | arrowFunctionExpression.cpp | 57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsFunctionType.cpp | 59 …checker->Allocator()->New<checker::Signature>(signatureInfo, returnType_->AsTypeNode()->GetType(ch… in Check()
|
D | tsConstructorType.cpp | 60 …checker->Allocator()->New<checker::Signature>(signatureInfo, returnType_->AsTypeNode()->GetType(ch… in Check()
|
D | tsMethodSignature.cpp | 70 …auto *callSignature = checker->Allocator()->New<checker::Signature>(signatureInfo, checker->Global… in Check()
|
D | tsSignatureDeclaration.cpp | 82 auto *signature = checker->Allocator()->New<checker::Signature>(signatureInfo, returnType); in Check()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …Signature",oe[oe.NoConstraints=2]="NoConstraints",oe[oe.Completions=4]="Completions",oe[oe.SkipBin… class
|