- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for parameter (0.17 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
} else -> arguments.any { typeProjection -> // A star projection type (lazily) built by type parameter will be yet another type with a star projection, // resulting in stack overflow if we keep checking allowed type parameter descriptors !typeProjection.isStarProjection && typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 33.2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
) return kotlinType.toKtType(analysisContext) } // Manually handle custom setter parameter if (declaration is KtParameter) { val parameterList = declaration.parent as? KtParameterList if (parameterList?.parameters?.singleOrNull() == declaration) { val propertyAccessor = parameterList.parent as? KtPropertyAccessor
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Tue Oct 24 20:59:56 GMT 2023 - 15.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
val firCall = ktCallExpression.getOrBuildFir(analysisSession.firResolveSession)?.unwrapSafeCall() as? FirCall ?: return emptyList() val parameter = firCall.findCorrespondingParameter(ktValueArgumentName.asName) ?: return emptyList() return listOfNotNull(parameter.buildSymbol(symbolBuilder)) } private fun FirCall.findCorrespondingParameter(name: Name): FirValueParameter? {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Apr 15 10:59:01 GMT 2024 - 37.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
* is somehow changed, then we want to keep the wrapper. * * Such substitute overrides happen because of inheritance. * * If the declaration references only its own type parameters, or parameters from the outer declarations, then * we consider that it's signature will not be changed by the SUBSTITUTION_OVERRIDE, so the wrapper can be unwrapped. *
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Mar 28 09:06:28 GMT 2024 - 32.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
* For a similar function in the `intellij` repository, see `isPossiblySubTypeOf`. */ private fun KtAnalysisSession.isPossiblySuperTypeOf(type: KtType, actualReceiverType: KtType): Boolean { // Type parameters cannot act as receiver types in KDoc if (actualReceiverType is KtTypeParameterType) return false if (type is KtTypeParameterType) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 22.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 13.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
return resolvedArgumentMapping?.mapValuesTo(LinkedHashMap()) { (_, parameter) -> SubstitutedValueParameter(parameter, substitutor.substituteOrSelf(parameter.returnTypeRef.coneType)) } } override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KtType { val firDeclaration = if (declaration is KtParameter && declaration.ownerFunction == null) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
for ((parameter, type) in typeArguments) { val ktParameter = typeParameters.getOrNull(parameter.index) ?: return emptyMap() // i.e. we were not able to infer some types if (type.contains { it: UnwrappedType -> it.constructor is TypeVariableTypeConstructor }) return emptyMap() result[ktParameter] = type.toKtType(analysisContext) }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
/** See [doesNamedFunctionUseBody] */ is KtNamedFunction -> doesNamedFunctionUseBody(parent, child) // Function parameter declarations use their default value expressions. is KtParameter -> parent.defaultValue == child // Variable declarations use their initializer. is KtVariableDeclaration ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
KtTypeMappingMode.RETURN_TYPE -> { rootModuleSession.jvmTypeMapper.typeContext.getOptimalModeForReturnType(expandedType, isAnnotationMethod) } KtTypeMappingMode.VALUE_PARAMETER -> { rootModuleSession.jvmTypeMapper.typeContext.getOptimalModeForValueParameter(expandedType) } }.let { typeMappingMode ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0)