- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 55 for NoneType (0.25 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt
} is FirGetClassCall -> { val coneType = getTargetType()?.fullyExpandedType(builder.rootSession) if (coneType is ConeClassLikeType && coneType !is ConeErrorType) { val classId = coneType.lookupTag.classId val type = builder.typeBuilder.buildKtType(coneType) KaKClassAnnotationValue(type, classId, sourcePsi, token)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt
firResolveSession.useSiteFirSession, coneType, typeScope ) private fun FirTypeScope.withSyntheticPropertiesScopeOrSelf(coneType: ConeKotlinType): FirTypeScope { val syntheticPropertiesScope = getFirSyntheticPropertiesScope(coneType, this) ?: return this return FirTypeScopeWithSyntheticProperties(typeScope = this, syntheticPropertiesScope)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 18.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSessionComponent.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 4.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/typeUtils.kt
} return false } /** * @see org.jetbrains.kotlin.analysis.api.types.KaType.abbreviatedType */ internal fun KaSymbolByFirBuilder.buildAbbreviatedType(coneType: ConeClassLikeType): KaUsualClassType? { return coneType.abbreviatedType?.let { abbreviatedConeType -> // If the resulting type is an error type, the abbreviated type couldn't be resolved. As per the contract of
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
): PsiType? { val coneType = type.coneType with(rootModuleSession.typeContext) { if (!allowErrorTypes && coneType.contains { it.isError() }) { return null } } if (!rootModuleSession.moduleData.platform.has<JvmPlatform>()) return null val typeElement = coneType.simplifyType(rootModuleSession, useSitePosition).asPsiTypeElement(
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 20:26:34 UTC 2024 - 18.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorFactory.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirSubstitutor.kt
override val token: KaLifetimeToken get() = builder.token override fun substituteOrNull(type: KaType): KaType? = withValidityAssertion { require(type is KaFirType) substitutor.substituteOrNull(type.coneType)?.type?.let { builder.typeBuilder.buildKtType(it) } } } internal class KaFirGenericSubstitutor( substitutor: ConeSubstitutor, builder: KaSymbolByFirBuilder,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
?: ConeSubstitutor.Empty return resolvedArgumentMapping?.mapValuesTo(LinkedHashMap()) { (_, parameter) -> SubstitutedValueParameter(parameter, substitutor.substituteOrSelf(parameter.returnTypeRef.coneType)) } } override fun getReturnTypeForKtDeclaration(declaration: KtDeclaration): KaType { val firDeclaration = if (declaration is KtParameter && declaration.ownerFunction == null) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
for (firReturnExpression in firReturnExpressions) { val coneType = firReturnExpression.result.resolvedType if (coneType.isUnit) { return null } coneTypes.add(coneType) } return analysisSession.useSiteSession.typeContext.commonSuperTypeOrNull(coneTypes)?.toKtType() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 14:04:46 UTC 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt
lowerBound.renderTypeAsKotlinType() } else -> errorWithFirSpecificEntries("Type should not be present in Kotlin declaration", coneType = this) }.replace('/', '.') // UNKNOWN nullability occurs only on flexible types val nullabilitySuffix = nullability.takeUnless { it == ConeNullability.UNKNOWN }?.suffix.orEmpty()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 11:34:07 UTC 2024 - 14.2K bytes - Viewed (0)