/arkcompiler/ets_frontend/es2panda/typescript/types/ |
H A D | globalTypesHolder.cpp | 57 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 D | globalTypesHolder.h | 58 Type *GlobalNumberType();
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | binaryLikeExpression.cpp | 79 resultType = GlobalNumberType(); in CheckBinaryOperator() 103 if (IsTypeAssignableTo(leftType, GlobalNumberType()) && IsTypeAssignableTo(rightType, GlobalNumberType())) { in CheckPlusOperator() 104 resultType = GlobalNumberType(); in CheckPlusOperator()
|
H A D | helpers.cpp | 70 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 D | binaryLikeExpression.cpp | 84 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 D | helpers.cpp | 68 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 D | tsNumberKeyword.cpp | 39 return checker->GlobalNumberType(); in GetType()
|
H A D | tsEnumDeclaration.cpp | 260 variable->SetTsType(checker->GlobalNumberType()); in AddEnumValueDeclaration()
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsNumberKeyword.cpp | 59 return checker->GlobalNumberType(); in GetType()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
H A D | globalTypesHolder.cpp | 117 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 D | globalTypesHolder.h | 193 Type *GlobalNumberType();
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | TSchecker.h | 126 Type *GlobalNumberType() in GlobalNumberType() function in ark::es2panda::ark::es2panda::ark::es2panda::checker::TSChecker 128 return GetGlobalTypesHolder()->GlobalNumberType(); in GlobalNumberType()
|
H A D | TSAnalyzer.cpp | 1007 return checker->GlobalNumberType(); in Check() 1715 variable->SetTsType(checker->GlobalNumberType()); in AddEnumValueDeclaration()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | unaryExpression.cpp | 186 return checker->GlobalNumberType(); in Check()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 140 Type *GlobalNumberType() in GlobalNumberType() function in panda::es2panda::panda::es2panda::panda::es2panda::checker::Checker 142 return globalTypes_->GlobalNumberType(); in GlobalNumberType()
|