Home
last modified time | relevance | path

Searched refs:lambdaParam (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dhelpers.cpp2129 const auto *const lambdaParam = param->AsETSParameterExpression()->Ident(); in NeedTypeInference() local
2130 if (lambdaParam->TypeAnnotation() == nullptr) { in NeedTypeInference()
2168 auto *const lambdaParam = lambda->Params()[i]->AsETSParameterExpression()->Ident(); in InferTypesForLambda() local
2169 if (lambdaParam->TypeAnnotation() == nullptr) { in InferTypesForLambda()
2170 … auto *const typeAnnotation = calleeParam->TypeAnnotation()->Clone(Allocator(), lambdaParam); in InferTypesForLambda()
2171 lambdaParam->SetTsTypeAnnotation(typeAnnotation); in InferTypesForLambda()
2172 typeAnnotation->SetParent(lambdaParam); in InferTypesForLambda()
DtypeCheckingHelpers.cpp947 for (auto *const lambdaParam : lambda->Params()) { in CheckLambdaTypeAnnotation() local
948 … lambdaParamTypes.emplace_back(lambdaParam->AsETSParameterExpression()->Ident()->TypeAnnotation()); in CheckLambdaTypeAnnotation()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DlambdaLowering.cpp632 for (auto *lambdaParam : lciInfo->lambdaSignature->Params()) { in CreateCallForLambdaClassInvoke() local
633 auto argName = lambdaParam->Name(); in CreateCallForLambdaClassInvoke()
634 auto *type = lambdaParam->TsType()->Substitute(checker->Relation(), lciInfo->substitution); in CreateCallForLambdaClassInvoke()