- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for type (0.21 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt
KtTypeMappingMode.RETURN_TYPE_BOXED -> TypeMappingMode.RETURN_TYPE_BOXED KtTypeMappingMode.RETURN_TYPE -> typeMapper.typeContext.getOptimalModeForReturnType(type.fe10Type, isAnnotationMethod) KtTypeMappingMode.VALUE_PARAMETER -> typeMapper.typeContext.getOptimalModeForValueParameter(type.fe10Type) }.let { typeMappingMode ->
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Thu Mar 28 16:10:07 GMT 2024 - 6.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
KtTypeMappingMode.SUPER_TYPE -> TypeMappingMode.SUPER_TYPE KtTypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS -> TypeMappingMode.SUPER_TYPE_KOTLIN_COLLECTIONS_AS_IS KtTypeMappingMode.RETURN_TYPE_BOXED -> TypeMappingMode.RETURN_TYPE_BOXED KtTypeMappingMode.RETURN_TYPE -> {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt
type.isInt -> KtConstantValue.KtIntConstantValue((value as Number).toInt(), expression) type.isUInt -> KtConstantValue.KtUnsignedIntConstantValue((value as Number).toInt().toUInt(), expression) type.isLong -> KtConstantValue.KtLongConstantValue((value as Number).toLong(), expression) type.isULong -> KtConstantValue.KtUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 11.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
else -> null } /** * It only makes sense to provide type for the references which reference some actual properties/variables. * * In cases when the name reference references a function (a REAL function, not a functional type variable), it does not * make sense to provide any type for it. * * --- *
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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
// type ref with delegated type ref with such source kind is NOT directly present in the source, so we ignore it !isArrayFromVararg } // type ref with such source kind is explicitly present in the source, so we want to see it
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K 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
} } /** * The left hand side of a `::` is regarded as used unless it refers to a type. * We decide that the LHS is a type reference by checking if the left hand * side is a (qualified) name, and, in case it _is_, resolving that name. * * If it resolves to a non-class declaration, it does _not_ refer to a type. */ private fun doesDoubleColonUseLHS(lhs: PsiElement): Boolean {
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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiValueParameterSymbol.kt
get() = withValidityAssertion { false } override val returnType: KtType get() = withValidityAssertion { val type = (descriptor as? ValueParameterDescriptor)?.varargElementType ?: descriptor?.type return type?.toKtType(analysisContext) ?: createErrorType() } override val name: Name get() = withValidityAssertion {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:46 GMT 2024 - 4.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt
psiElements.firstIsInstanceOrNull<PsiField>()?.let { bindings.put(FIELD_FOR_PROPERTY, fir, Type.getType(getBinaryPresentationWithCorrection(it.type)) to it.name) } } fir.getter?.let { getter -> methods.singleOrNull { it.returnType != PsiType.VOID }?.let {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 09:19:07 GMT 2024 - 10K bytes - Viewed (0)