| /arkcompiler/ets_frontend/ets2panda/checker/types/ets/ |
| D | floatType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingWideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | charType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingWideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | doubleType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 WideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 46 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 72 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | shortType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingWideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | longType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingWideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | intType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingWideningConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | byteType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 34 NarrowingConverter(relation->GetChecker()->AsETSChecker(), relation, this, source); in AssignmentTarget() 40 relation->GetChecker()->AsETSChecker()->CheckUnboxedTypeWidenable(relation, target, this); in AssignmentSource() 47 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource() 77 … auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in Cast()
|
| D | etsBooleanType.cpp | 32 … relation->GetChecker()->AsETSChecker()->MaybeAddUnboxingFlagInRelation(relation, source, this); in AssignmentTarget() 39 … relation->GetChecker()->AsETSChecker()->CheckBoxedSourceTypeAssignable(relation, this, target); in AssignmentSource()
|
| D | etsStringType.cpp | 64 auto *const checker = relation->GetChecker()->AsETSChecker(); in IsSupertypeOf() 74 auto *const checker = relation->GetChecker()->AsETSChecker(); in IsSubtypeOf()
|
| D | etsAnyType.cpp | 36 auto checker = relation->GetChecker()->AsETSChecker(); in AssignmentTarget() 66 … auto *const boxedTarget = relation->GetChecker()->AsETSChecker()->MaybeBoxInRelation(target); in Cast()
|
| D | etsUnionType.cpp | 123 auto checker = relation->GetChecker()->AsETSChecker(); in AmbiguousUnionOperation() 133 auto *const checker = relation->GetChecker()->AsETSChecker(); in RelationTarget() 177 auto *const checker = relation->GetChecker()->AsETSChecker(); in AssignmentSource() 183 … relation->GetChecker()->AsETSChecker()->GetUnboxingFlag(checker->MaybeUnboxType(target))); in AssignmentSource() 200 auto *const checker = relation->GetChecker()->AsETSChecker(); in Cast() 209 … relation->GetChecker()->AsETSChecker()->GetUnboxingFlag(checker->MaybeUnboxType(target))); in Cast() 249 auto checker = relation->GetChecker()->AsETSChecker(); in TryMergeTypes() 263 auto *const checker = relation->GetChecker()->AsETSChecker(); in LinearizeAndEraseIdentical() 327 auto *const checker = relation->GetChecker()->AsETSChecker(); in Instantiate() 337 auto *const checker = relation->GetChecker()->AsETSChecker(); in Substitute()
|
| D | etsObjectType.cpp | 204 auto *checker = GetRelation()->GetChecker()->AsETSChecker(); in CreateMethodTypeForProp() 236 auto *checker = GetRelation()->GetChecker()->AsETSChecker(); in CollectSignaturesForSyntheticType() 558 auto checker = GetRelation()->GetChecker()->AsETSChecker(); in GetFunctionalInterfaceInvokeType() 665 auto unboxedTarget = relation->GetChecker()->AsETSChecker()->MaybeUnboxInRelation(target); in TryCastUnboxable() 754 auto const checker = relation->GetChecker()->AsETSChecker(); in IsSupertypeOf() 867 for (auto *const it : checker->AsETSChecker()->GetInterfaces(this)) { in AsSuper() 876 Type *const superType = checker->AsETSChecker()->GetSuperType(this); in AsSuper() 895 for (auto *const it : checker->AsETSChecker()->GetInterfaces(this)) { in AsSuper() 911 …relation->GetChecker()->AsETSChecker()->GetTypeOfVariable(prop), allocator, relation, globalTypes); in CopyProperty() 924 auto *const checker = relation->GetChecker()->AsETSChecker(); in Instantiate() [all …]
|
| D | etsFunctionType.cpp | 175 auto checker = relation->GetChecker()->AsETSChecker(); in EnhanceSignatureSubstitution() 236 auto checker = relation->GetChecker()->AsETSChecker(); in CoerceToArrowType() 295 auto checker = relation->GetChecker()->AsETSChecker(); in Instantiate() 310 auto *const checker = relation->GetChecker()->AsETSChecker(); in Substitute() 362 ETSChecker *checker = relation->GetChecker()->AsETSChecker(); in IsSubtypeOf()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | conversion.cpp | 35 WideningConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in WideningPrimitive() 42 NarrowingConverter(relation->GetChecker()->AsETSChecker(), relation, target, source); in NarrowingPrimitive() 47 …auto *const tempInt = relation->GetChecker()->AsETSChecker()->GetGlobalTypesHolder()->GlobalIntTyp… in WideningNarrowingPrimitive() 107 auto *const etsChecker = relation->GetChecker()->AsETSChecker(); in IsAllowedNarrowingReferenceConversionObjectObject() 265 auto *const etsChecker = relation->GetChecker()->AsETSChecker(); in Boxing() 277 auto *const etsChecker = relation->GetChecker()->AsETSChecker(); in Unboxing() 320 auto *const boxedTarget = relation->GetChecker()->AsETSChecker()->MaybeBoxInRelation(target); in NarrowingReferenceUnboxing() 346 …auto *const tempInt = relation->GetChecker()->AsETSChecker()->GetGlobalTypesHolder()->GlobalIntTyp… in String()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
| D | recordLowering.cpp | 96 …ctx->checker->AsETSChecker()->LogError(diagnostic::OBJ_LIT_PROP_NAME_COLLISION, {}, expr->Start()); in CheckDuplicateKey() 103 …ctx->checker->AsETSChecker()->LogError(diagnostic::OBJ_LIT_PROP_NAME_COLLISION, {}, expr->Start()); in CheckDuplicateKey() 107 … ctx->checker->AsETSChecker()->LogError(diagnostic::OBJ_LIT_UNKNOWN_PROP, {}, expr->Start()); in CheckDuplicateKey() 122 … ctx->checker->AsETSChecker()->LogError(diagnostic::OBJ_LIT_NOT_COVERING_UNION, {}, expr->Start()); in CheckLiteralsCompleteness() 154 auto checker = ctx->checker->AsETSChecker(); in UpdateObjectExpression()
|
| D | unionLowering.cpp | 50 auto *checker = ctx->checker->AsETSChecker(); in GetUnionAccessClass() 86 auto *checker = ctx->checker->AsETSChecker(); in CreateNamedAccessMethod() 136 auto *checker = ctx->checker->AsETSChecker(); in CreateNamedAccessProperty() 171 auto *checker = ctx->checker->AsETSChecker(); in CreateNamedAccess() 214 asExpression->Check(ctx->checker->AsETSChecker()); in GenAsExpression() 233 checker::ETSChecker *checker = ctx->checker->AsETSChecker(); in HandleUnionCastToPrimitive() 269 checker::ETSChecker *checker = ctx->checker->AsETSChecker(); in PerformForModule() 297 auto *checker = ctx->checker->AsETSChecker(); in PostconditionForModule()
|
| D | dynamicImportLowering.cpp | 24 ctx->checker->AsETSChecker()->BuildDynamicImportClass(); in PerformForModule()
|
| D | expandBrackets.cpp | 45 auto *const checker = ctx->checker->AsETSChecker(); in ProcessNewArrayInstanceExpression() 87 auto *const checker = ctx->checker->AsETSChecker(); in ProcessNewMultiDimArrayInstanceExpression() 149 auto *checker = ctx->checker->AsETSChecker(); in CreateNewMultiDimArrayInstanceExpression()
|
| D | declareOverloadLowering.cpp | 27 auto *checker = ctx->checker->AsETSChecker(); in GenerateOverloadHelperParams() 62 auto *checker = ctx->checker->AsETSChecker(); in BuildOverloadHelperFunction() 114 auto *checker = ctx->checker->AsETSChecker(); in UpdateCallSignature()
|
| D | lambdaLowering.cpp | 100 auto *checker = ctx->checker->AsETSChecker(); in ProcessTypeParameterProperties() 128 auto *checker = ctx->checker->AsETSChecker(); in CloneTypeParams() 194 auto checker = ctx->checker->AsETSChecker(); in CreateLambdaCalleeParameters() 337 method->Check(ctx->checker->AsETSChecker()); in SetUpCalleeMethod() 348 auto *checker = ctx->checker->AsETSChecker(); in CreateCalleeMethod() 414 auto *checker = ctx->checker->AsETSChecker(); in CreateCallee() 453 auto *checker = ctx->checker->AsETSChecker(); in CreateLambdaClassFields() 482 auto *checker = ctx->checker->AsETSChecker(); in CreateLambdaClassConstructor() 549 auto *checker = ctx->checker->AsETSChecker(); in CreateRestArgumentsArrayReallocation() 609 auto *checker = ctx->checker->AsETSChecker(); in CreateInvokeMethodRestParameter() [all …]
|
| D | bigintLowering.cpp | 31 auto checker = ctx->checker->AsETSChecker(); in CreateBigInt() 93 auto checker = ctx->checker->AsETSChecker(); in PerformForModule()
|
| D | restArgsLowering.cpp | 33 auto *checker = context->checker->AsETSChecker(); in CreateRestArgsBlockExpression() 94 auto *checker = context->checker->AsETSChecker(); in CreateRestArgsArray() 149 …CheckLoweredNode(context->checker->VarBinder()->AsETSBinder(), context->checker->AsETSChecker(), n… in RebuildCallExpression() 176 …CheckLoweredNode(context->checker->VarBinder()->AsETSBinder(), context->checker->AsETSChecker(), n… in RebuildNewClassInstanceExpression()
|
| D | lateInitialization.cpp | 30 auto checker = ctx->checker->AsETSChecker(); in TransformerClassProperty() 50 auto checker = ctx->checker->AsETSChecker(); in TransformerMemberExpression()
|
| D | stringComparison.cpp | 81 checker::ETSChecker *checker = ctx->checker->AsETSChecker(); in ProcessBinaryExpression() 112 checker::ETSChecker *checker = ctx->checker->AsETSChecker(); in PerformForModule()
|
| D | partialExportClassGen.cpp | 27 …ctx->checker->AsETSChecker()->CreatePartialType(node->AsClassDeclaration()->Definition()->TsType()… in GeneratePartialDeclForExported()
|