Home
last modified time | relevance | path

Searched refs:GlobalNumberType (Results 1 - 15 of 15) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DglobalTypesHolder.cpp57 allocator->New<UnionType>(allocator, std::initializer_list<Type *> {GlobalNumberType(), GlobalBigintType()}); in GlobalTypesHolder()
59 allocator->New<UnionType>(allocator, std::initializer_list<Type *> {GlobalStringType(), GlobalNumberType()}); in GlobalTypesHolder()
65 std::initializer_list<Type *> {GlobalNumberType(), GlobalStringType(), GlobalBigintType(), GlobalBooleanType(), in GlobalTypesHolder()
73 Type *GlobalTypesHolder::GlobalNumberType() in GlobalNumberType() function in panda::es2panda::checker::GlobalTypesHolder
H A DglobalTypesHolder.h58 Type *GlobalNumberType();
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A DbinaryLikeExpression.cpp79 resultType = GlobalNumberType(); in CheckBinaryOperator()
103 if (IsTypeAssignableTo(leftType, GlobalNumberType()) && IsTypeAssignableTo(rightType, GlobalNumberType())) { in CheckPlusOperator()
104 resultType = GlobalNumberType(); in CheckPlusOperator()
H A Dhelpers.cpp70 return GlobalNumberType(); in GetBaseTypeOfLiteralType()
312 return GlobalNumberType(); in GetUnaryResultType()
454 var->SetTsType(std::holds_alternative<double>(enumVar->Value()) ? GlobalNumberType() : GlobalStringType()); in GetTypeOfVariable()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A DbinaryLikeExpression.cpp84 resultType = GlobalNumberType(); in CheckBinaryOperator()
110 if (IsTypeAssignableTo(leftRightType->leftType, GlobalNumberType()) && in CheckPlusOperator()
111 IsTypeAssignableTo(leftRightType->rightType, GlobalNumberType())) { in CheckPlusOperator()
112 resultType = GlobalNumberType(); in CheckPlusOperator()
H A Dhelpers.cpp68 return GlobalNumberType(); in GetBaseTypeOfLiteralType()
310 return GlobalNumberType(); in GetUnaryResultType()
414 var->SetTsType(std::holds_alternative<double>(enumVar->Value()) ? GlobalNumberType() : GlobalStringType()); in GetTypeEnum()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsNumberKeyword.cpp39 return checker->GlobalNumberType(); in GetType()
H A DtsEnumDeclaration.cpp260 variable->SetTsType(checker->GlobalNumberType()); in AddEnumValueDeclaration()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsNumberKeyword.cpp59 return checker->GlobalNumberType(); in GetType()
/arkcompiler/ets_frontend/ets2panda/checker/types/
H A DglobalTypesHolder.cpp117 allocator->New<UnionType>(allocator, std::initializer_list<Type *> {GlobalNumberType(), GlobalBigintType()}); in AddTSSpecificTypes()
119 allocator->New<UnionType>(allocator, std::initializer_list<Type *> {GlobalStringType(), GlobalNumberType()}); in AddTSSpecificTypes()
125 std::initializer_list<Type *> {GlobalNumberType(), GlobalStringType(), GlobalBigintType(), GlobalBooleanType(), in AddTSSpecificTypes()
227 Type *GlobalTypesHolder::GlobalNumberType() in GlobalNumberType() function in ark::es2panda::checker::GlobalTypesHolder
H A DglobalTypesHolder.h193 Type *GlobalNumberType();
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h126 Type *GlobalNumberType() in GlobalNumberType() function in ark::es2panda::ark::es2panda::ark::es2panda::checker::TSChecker
128 return GetGlobalTypesHolder()->GlobalNumberType(); in GlobalNumberType()
H A DTSAnalyzer.cpp1007 return checker->GlobalNumberType(); in Check()
1715 variable->SetTsType(checker->GlobalNumberType()); in AddEnumValueDeclaration()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DunaryExpression.cpp186 return checker->GlobalNumberType(); in Check()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h140 Type *GlobalNumberType() in GlobalNumberType() function in panda::es2panda::panda::es2panda::panda::es2panda::checker::Checker
142 return globalTypes_->GlobalNumberType(); in GlobalNumberType()

Completed in 11 milliseconds