- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for NoneType (0.4 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
override fun approximateToSuperPublicDenotableType(type: KaType, approximateLocalTypes: Boolean): KaType? { require(type is KaFirType) val coneType = type.coneType val approximatedConeType = PublicTypeApproximator.approximateTypeToPublicDenotable( coneType, rootModuleSession, approximateLocalTypes = approximateLocalTypes, ) return approximatedConeType?.asKtType()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 16.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt
} else -> throwUnexpectedElementError(coneType) } } private fun hasFunctionalClassId(coneType: ConeClassLikeTypeImpl): Boolean { return coneType.isSomeFunctionType(analysisSession.firResolveSession.useSiteFirSession) } fun buildKtType(coneType: FirTypeRef): KaType { return buildKtType(coneType.coneType)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:43 UTC 2024 - 33.2K bytes - Viewed (0) -
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/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/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) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/DebugSymbolRenderer.kt
else lines.first() + " ..." } public companion object { private val ignoredPropertyNames = setOf( "psi", "token", "builder", "coneType", "analysisContext", "fe10Type", // These properties are made obsolete by their counterparts without `*IfNonLocal` (e.g. `classId`), which contain the same // values.
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 19.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
// FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it // is null for the constructors we get. val constructedType = fir.constructedTypeRef.coneType.abbreviatedTypeOrSelf val constructorReturnType = fir.calleeReference.toResolvedConstructorSymbol()?.resolvedReturnTypeRef?.type if (constructedType.classId != constructorReturnType?.classId) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Jun 10 20:18:28 UTC 2024 - 37K bytes - Viewed (0)