Home
last modified time | relevance | path

Searched refs:Signature (Results 1 – 23 of 23) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
Dsignature.h55 class Signature {
57Signature(SignatureInfo *signatureInfo, Type *returnType) : signatureInfo_(signatureInfo), returnT… in Signature() function
61 ~Signature() = default;
62 NO_COPY_SEMANTIC(Signature);
63 NO_MOVE_SEMANTIC(Signature);
115Signature *Copy(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolder *globalTypes);
118 void Identical(TypeRelation *relation, Signature *other);
119 void AssignmentTarget(TypeRelation *relation, Signature *source);
DobjectType.h33 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()
Dsignature.cpp20 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()
DobjectType.cpp26 … 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()
DobjectDescriptor.h29 class Signature; variable
53 ArenaVector<Signature *> callSignatures;
54 ArenaVector<Signature *> constructSignatures;
DinterfaceType.h90 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) …
DtypeRelation.h29 class Signature; variable
91 bool IsIdenticalTo(Signature *source, Signature *target);
DinterfaceType.cpp80 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()
DtypeRelation.cpp94 bool TypeRelation::IsIdenticalTo(Signature *source, Signature *target) in IsIdenticalTo()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeCreation.cpp126 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()
Dfunction.cpp590Signature *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()
Dobject.cpp116 ArenaVector<Signature *> callSignatures(allocator_->Adapter()); in ResolveUnionTypeMembers()
117 ArenaVector<Signature *> constructSignatures(allocator_->Adapter()); in ResolveUnionTypeMembers()
Dhelpers.cpp401 … auto *callSignature = allocator_->New<checker::Signature>(signatureInfo, GlobalAnyType()); in GetTypeOfVariable()
/arkcompiler/ets_frontend/ts2panda/src/
Dpandasm.ts29 export class Signature { class
66 public s: Signature; // signature
83 signature: Signature,
Dts2panda.ts45 Signature,
89 static getFuncSignature(pg: PandaGen): Signature {
90 return new Signature(pg.getParametersCount());
/arkcompiler/ets_frontend/es2panda/typescript/
Dchecker.h376 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/
DfunctionExpression.cpp57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
DarrowFunctionExpression.cpp57 …checker->Allocator()->New<checker::Signature>(signatureInfo, checker->GlobalResolvingReturnType()); in Check()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsFunctionType.cpp59 …checker->Allocator()->New<checker::Signature>(signatureInfo, returnType_->AsTypeNode()->GetType(ch… in Check()
DtsConstructorType.cpp60 …checker->Allocator()->New<checker::Signature>(signatureInfo, returnType_->AsTypeNode()->GetType(ch… in Check()
DtsMethodSignature.cpp70 …auto *callSignature = checker->Allocator()->New<checker::Signature>(signatureInfo, checker->Global… in Check()
DtsSignatureDeclaration.cpp82 auto *signature = checker->Allocator()->New<checker::Signature>(signatureInfo, returnType); in Check()
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2Signature",oe[oe.NoConstraints=2]="NoConstraints",oe[oe.Completions=4]="Completions",oe[oe.SkipBin… class