Searched refs:tsType (Results 1 - 11 of 11) sorted by relevance
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | arithmetic.cpp | 214 checker::Type *tsType {}; in CheckBinaryOperatorMulDivMod() 231 tsType = HandleArithmeticOperationOnTypes(leftType, rightType, operationType); in CheckBinaryOperatorMulDivMod() 234 tsType = (tsType != nullptr) ? tsType : promotedType; in CheckBinaryOperatorMulDivMod() 235 return tsType; in CheckBinaryOperatorMulDivMod() 508 checker::Type *tsType {}; in CheckBinaryOperatorStrictEqual() 525 tsType = GlobalETSBooleanType(); in CheckBinaryOperatorStrictEqual() 527 return {tsType, GlobalBuiltinJSValueType()}; in CheckBinaryOperatorStrictEqual() 530 return {tsType, GlobalETSObjectTyp in CheckBinaryOperatorStrictEqual() 533 CheckBinaryOperatorEqualError(checker::Type *const leftType, checker::Type *const rightType, checker::Type *tsType, lexer::SourcePosition pos) CheckBinaryOperatorEqualError() argument 1037 auto tsType = check(this, std::make_tuple(left, right, operationType, pos), isEqualOp, CheckArithmeticOperations() local [all...] |
H A D | helpers.cpp | 429 const Type *tsType = expr->TsType(); in IsResolvedAndValue() local 430 if (tsType->DefinitelyNotETSNullish() && !type->HasTypeFlag(TypeFlag::ETS_PRIMITIVE)) { in IsResolvedAndValue() 1422 checker::Type *tsType = nullptr; in GetReferencedTypeBase() local 1425 tsType = GetTypeFromInterfaceReference(refVar); in GetReferencedTypeBase() 1431 tsType = GetTypeFromClassReference(refVar); in GetReferencedTypeBase() 1436 tsType = GetTypeFromEnumReference(refVar); in GetReferencedTypeBase() 1440 tsType = GetTypeFromTypeParameterReference(refVar, name->Start()); in GetReferencedTypeBase() 1444 tsType = GetTypeFromTypeAliasReference(refVar); in GetReferencedTypeBase() 1451 name->SetTsType(tsType); in GetReferencedTypeBase() 1452 return tsType; in GetReferencedTypeBase() [all...] |
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | typed.h | 66 void SetTsType(checker::Type *tsType) noexcept 68 tsType_ = tsType;
|
/arkcompiler/ets_frontend/ets2panda/varbinder/ |
H A D | variable.h | 106 void SetTsType(checker::Type *tsType) noexcept 108 tsType_ = tsType;
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
H A D | pgo_type_infer.h | 38 GateType tsType; member
|
/arkcompiler/ets_frontend/es2panda/binder/ |
H A D | variable.h | 87 void SetTsType(checker::Type *tsType) in SetTsType() argument 89 tsType_ = tsType; in SetTsType()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSemitter.h | 92 const checker::Type *tsType; member
|
H A D | ETSemitter.cpp | 348 field.type = PandasmTypeWithRank(data.tsType); in GenField() 353 } else if (data.tsType->HasTypeFlag(checker::TypeFlag::ETS_PRIMITIVE) || data.tsType->IsETSStringType()) { in GenField()
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSAnalyzerHelpers.cpp | 412 auto tsType = checker->CreateETSBooleanType(true); in ProcessExclamationMark() local 413 tsType->AddTypeFlag(checker::TypeFlag::CONSTANT); in ProcessExclamationMark() 414 expr->SetTsType(tsType); in ProcessExclamationMark() 427 auto tsType = checker->CreateETSBooleanType(!std::get<1>(exprRes)); in ProcessExclamationMark() local 428 tsType->AddTypeFlag(checker::TypeFlag::CONSTANT); in ProcessExclamationMark() 429 expr->SetTsType(tsType); in ProcessExclamationMark()
|
H A D | ETSAnalyzer.cpp | 316 auto *tsType = checker->GetCachedFunctionalInterface(node); in Check() local 317 node->SetTsType(tsType); in Check() 318 if (tsType != nullptr) { in Check() 319 return tsType; in Check() 349 auto exprType = [&checker](auto *tsType) { in Check() 350 if (tsType->HasTypeFlag(checker::TypeFlag::ETS_PRIMITIVE)) { in Check() 351 return checker->PrimitiveTypeAsETSBuiltinType(tsType); in Check() 354 return tsType; in Check()
|
H A D | ETSchecker.h | 322 checker::Type *tsType,
|
Completed in 15 milliseconds