- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for MapOf (0.13 sec)
-
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt
if (kClass.isSubclassOf(PsiElement::class)) { return HLIdParameterConversion } return null } private val nullableTypeMapping: Map<KClass<*>, HLFunctionCallConversion> = mapOf( FirExpression::class to HLFunctionCallConversion( "{0}?.source?.psi as? KtExpression", KtExpression::class.createType(nullable = true), importsToAdd = listOf(
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Nov 06 14:41:18 GMT 2023 - 16.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
val elementType = resolvedType.arrayElementType()?.asKtType() ?: return emptyMap() val typeParameter = partiallyAppliedSymbol.symbol.typeParameters.singleOrNull() ?: return emptyMap() return mapOf(typeParameter to elementType) } override fun collectCallCandidates(psi: KtElement): List<KtCallCandidateInfo> = wrapError(psi) { getCallInfo( psi,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
else substitutedType.asKtType() } /** * Expected type of the indexing parameter in array access, for example, in the following code: * ``` * val map = mapOf<Int, String>() * map[k] = v * ``` * `k` is indexing parameter and its expected type is `Int`. */ private fun getExpectedTypeOfIndexingParameter(expression: PsiElement): KtType? {
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)