Home
last modified time | relevance | path

Searched refs:FunctionType (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
DfunctionType.cpp22 void FunctionType::ToString(std::stringstream &ss) const in ToString()
24 static std::unordered_set<const FunctionType *> stack; in ToString()
50 TypeFacts FunctionType::GetTypeFacts() const in GetTypeFacts()
55 Type *FunctionType::Instantiate(ArenaAllocator *allocator, TypeRelation *relation, GlobalTypesHolde… in Instantiate()
59 return allocator->New<FunctionType>(copiedDesc); in Instantiate()
DfunctionType.h24 class FunctionType : public ObjectType {
26 …explicit FunctionType(ObjectDescriptor *desc) : ObjectType(ObjectType::ObjectTypeKind::FUNCTION, d… in FunctionType() function
DtypeMapping.h47 _(ObjectType::ObjectTypeKind::FUNCTION, FunctionType) \
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeSystem.h429 class FunctionType : public BaseType {
431 …explicit FunctionType(TypeExtractor *extractor, const ir::AstNode *node, const util::StringView &n… in FunctionType() function
484 ~FunctionType() = default;
485 NO_COPY_SEMANTIC(FunctionType);
486 NO_MOVE_SEMANTIC(FunctionType);
751 auto fn = [&method, this](const FunctionType &functionType, const util::StringView &name) { in FillMethod()
762 FunctionType functionType(extractor_, method, name); in FillMethod()
768 FunctionType functionType(extractor_, method, name); in FillMethod()
991 FunctionType functionType(extractor_, method, name); in FillMethod()
997 FunctionType functionType(extractor_, method, name); in FillMethod()
[all …]
DtypeExtractor.cpp437 FunctionType functionType(this, node, name); in GetTypeIndexFromFunctionNode()
582 FunctionType functionType(this, type->AsTSFunctionType(), ""); in GetTypeIndexFromAnnotation()
585 FunctionType functionType(this, type->AsTSConstructorType(), ""); in GetTypeIndexFromAnnotation()
599 FunctionType functionType(this, typeAnnotation->AsTSFunctionType(), ""); in GetTypeIndexFromAnnotation()
603 FunctionType functionType(this, typeAnnotation->AsTSConstructorType(), ""); in GetTypeIndexFromAnnotation()
696 FunctionType functionType(this, node, name); in HandleFunctionDeclaration()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DtypeCreation.cpp142 … auto *funcObjType = allocator_->New<FunctionType>(allocator_->New<ObjectDescriptor>(allocator_)); in CreateFunctionTypeWithSignature()
Dfunction.cpp612 Type *funcType = allocator_->New<FunctionType>(descWithOverload); in InferFunctionDeclarationType()
/arkcompiler/ets_frontend/ts2panda/src/
DtypeChecker.ts24 FunctionType,
419 … let funcType = new FunctionType(functionDeclNode, BuiltinType[functionnameText]);
/arkcompiler/ets_frontend/ts2panda/src/base/
DtypeSystem.ts413 let funcType = new FunctionType(<ts.FunctionLikeDeclaration>member);
531 export class FunctionType extends BaseType { class
891 let funcType = new FunctionType(<ts.MethodSignature>member);
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2 …dicate",l[l.TypeReference=176]="TypeReference",l[l.FunctionType=177]="FunctionType",l[l.Constructo… field in /src/base/typeSystem.ts.anonymousFunction83c68e02e900.b