Home
last modified time | relevance | path

Searched refs:tsType (Results 1 - 11 of 11) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Darithmetic.cpp214 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 Dhelpers.cpp429 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 Dtyped.h66 void SetTsType(checker::Type *tsType) noexcept
68 tsType_ = tsType;
/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvariable.h106 void SetTsType(checker::Type *tsType) noexcept
108 tsType_ = tsType;
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
H A Dpgo_type_infer.h38 GateType tsType; member
/arkcompiler/ets_frontend/es2panda/binder/
H A Dvariable.h87 void SetTsType(checker::Type *tsType) in SetTsType() argument
89 tsType_ = tsType; in SetTsType()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSemitter.h92 const checker::Type *tsType; member
H A DETSemitter.cpp348 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 DETSAnalyzerHelpers.cpp412 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 DETSAnalyzer.cpp316 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 DETSchecker.h322 checker::Type *tsType,

Completed in 15 milliseconds