Home
last modified time | relevance | path

Searched refs:globalTypes_ (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/types/
H A DglobalTypesHolder.cpp103 globalTypes_[static_cast<size_t>(GlobalTypeId::NUMBER)] = allocator->New<NumberType>(); in AddTSSpecificTypes()
104 globalTypes_[static_cast<size_t>(GlobalTypeId::ANY)] = allocator->New<AnyType>(); in AddTSSpecificTypes()
105 globalTypes_[static_cast<size_t>(GlobalTypeId::STRING)] = allocator->New<StringType>(); in AddTSSpecificTypes()
106 globalTypes_[static_cast<size_t>(GlobalTypeId::BOOLEAN)] = allocator->New<BooleanType>(); in AddTSSpecificTypes()
107 globalTypes_[static_cast<size_t>(GlobalTypeId::VOID)] = allocator->New<VoidType>(); in AddTSSpecificTypes()
108 globalTypes_[static_cast<size_t>(GlobalTypeId::NULL_ID)] = allocator->New<NullType>(); in AddTSSpecificTypes()
109 globalTypes_[static_cast<size_t>(GlobalTypeId::UNDEFINED)] = allocator->New<UndefinedType>(); in AddTSSpecificTypes()
110 globalTypes_[static_cast<size_t>(GlobalTypeId::UNKNOWN)] = allocator->New<UnknownType>(); in AddTSSpecificTypes()
111 globalTypes_[static_cast<size_t>(GlobalTypeId::NEVER)] = allocator->New<NeverType>(); in AddTSSpecificTypes()
112 globalTypes_[static_cas in AddTSSpecificTypes()
[all...]
H A DglobalTypesHolder.h302 return globalTypes_; in GlobalTypes()
307 return globalTypes_; in GlobalTypes()
311 Holder globalTypes_ {};
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DglobalTypesHolder.cpp42 globalTypes_[static_cast<size_t>(GlobalTypeId::NUMBER)] = allocator->New<NumberType>(); in GlobalTypesHolder()
43 globalTypes_[static_cast<size_t>(GlobalTypeId::ANY)] = allocator->New<AnyType>(); in GlobalTypesHolder()
44 globalTypes_[static_cast<size_t>(GlobalTypeId::STRING)] = allocator->New<StringType>(); in GlobalTypesHolder()
45 globalTypes_[static_cast<size_t>(GlobalTypeId::SYMBOL)] = allocator->New<SymbolType>(); in GlobalTypesHolder()
46 globalTypes_[static_cast<size_t>(GlobalTypeId::BOOLEAN)] = allocator->New<BooleanType>(); in GlobalTypesHolder()
47 globalTypes_[static_cast<size_t>(GlobalTypeId::VOID)] = allocator->New<VoidType>(); in GlobalTypesHolder()
48 globalTypes_[static_cast<size_t>(GlobalTypeId::NULL_ID)] = allocator->New<NullType>(); in GlobalTypesHolder()
49 globalTypes_[static_cast<size_t>(GlobalTypeId::UNDEFINED)] = allocator->New<UndefinedType>(); in GlobalTypesHolder()
50 globalTypes_[static_cast<size_t>(GlobalTypeId::UNKNOWN)] = allocator->New<UnknownType>(); in GlobalTypesHolder()
51 globalTypes_[static_cas in GlobalTypesHolder()
[all...]
H A DglobalTypesHolder.h84 std::array<Type *, static_cast<size_t>(GlobalTypeId::COUNT)> globalTypes_ {};
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h142 return globalTypes_->GlobalNumberType(); in GlobalNumberType()
147 return globalTypes_->GlobalAnyType(); in GlobalAnyType()
152 return globalTypes_->GlobalStringType(); in GlobalStringType()
157 return globalTypes_->GlobalSymbolType(); in GlobalSymbolType()
162 return globalTypes_->GlobalBooleanType(); in GlobalBooleanType()
167 return globalTypes_->GlobalVoidType(); in GlobalVoidType()
172 return globalTypes_->GlobalNullType(); in GlobalNullType()
177 return globalTypes_->GlobalUndefinedType(); in GlobalUndefinedType()
182 return globalTypes_->GlobalUnknownType(); in GlobalUnknownType()
187 return globalTypes_ in GlobalNeverType()
482 GlobalTypesHolder *globalTypes_; global() member in panda::es2panda::panda::es2panda::panda::es2panda::checker::Checker
[all...]
H A Dchecker.cpp41 globalTypes_ = allocator_->New<GlobalTypesHolder>(allocator_); in Checker()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A DtypeCreation.cpp93 return UnionType::HandleUnionType(newUnionType, globalTypes_); in CreateUnionType()
125 return UnionType::HandleUnionType(newUnionType, globalTypes_); in CreateUnionType()
H A Dfunction.cpp153 Type *instantiateTupleType = inferedTuple->Instantiate(allocator_, relation_, globalTypes_); in CreateParameterTypeForArrayAssignmentPattern()
176 ObjectType *newObject = inferedType->Instantiate(allocator_, relation_, globalTypes_)->AsObjectType(); in CreateParameterTypeForObjectAssignmentPattern()
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.h106 return globalTypes_;
216 GlobalTypesHolder *globalTypes_; member in ark::es2panda::ark::es2panda::ark::es2panda::ark::es2panda::checker::Checker
H A Dchecker.cpp39 globalTypes_(allocator_.New<GlobalTypesHolder>(&allocator_)), in Checker()

Completed in 6 milliseconds