Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for NoneType (0.12 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirDefinitelyNotNullType.kt

    internal class KaFirDefinitelyNotNullType(
        override val coneType: ConeDefinitelyNotNullType,
        private val builder: KaSymbolByFirBuilder,
    ) : KaDefinitelyNotNullType(), KaFirType {
        override val token: KaLifetimeToken get() = builder.token
        override val original: KaType = withValidityAssertion { builder.typeBuilder.buildKtType(this.coneType.original) }
        override val annotations: KaAnnotationList by cached {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFlexibleType.kt

        override val annotations: KaAnnotationList by cached {
            KaFirAnnotationListForType.create(coneType, builder)
        }
        override val nullability: KaTypeNullability get() = withValidityAssertion { coneType.nullability.asKtNullability() }
    
        override val abbreviatedType: KaUsualClassType?
            get() = withValidityAssertion { null }
    
        override fun equals(other: Any?) = typeEquals(other)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirTypeErrorType.kt

    import org.jetbrains.kotlin.fir.types.renderForDebugging
    
    internal class KaFirErrorType(
        override val coneType: ConeErrorType,
        private val builder: KaSymbolByFirBuilder,
    ) : KaErrorType, KaFirType {
        override val token: KaLifetimeToken get() = builder.token
    
        override val nullability: KaTypeNullability get() = withValidityAssertion { coneType.nullability.asKtNullability() }
    
        @KaAnalysisNonPublicApi
        override val errorMessage: String
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirIntersectionType.kt

    internal class KaFirIntersectionType(
        override val coneType: ConeIntersectionType,
        private val builder: KaSymbolByFirBuilder,
    ) : KaIntersectionType(), KaFirType {
        override val token: KaLifetimeToken get() = builder.token
    
        override val conjuncts: List<KaType> by cached {
            coneType.intersectedTypes.map { conjunct -> builder.typeBuilder.buildKtType(conjunct) }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirDynamicType.kt

    internal class KaFirDynamicType(
        override val coneType: ConeDynamicType,
        private val builder: KaSymbolByFirBuilder,
    ) : KaDynamicType(), KaFirType {
        override val token: KaLifetimeToken get() = builder.token
        override val annotations: KaAnnotationList by cached {
            KaFirAnnotationListForType.create(coneType, builder)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirVariableLikeSignature.kt

            val isVarargValueParameter = (firSymbol as? FirValueParameterSymbol)?.isVararg == true
            val coneType = firSymbol.resolvedReturnType.applyIf(isVarargValueParameter) { arrayElementType() ?: this }
    
            firSymbolBuilder.typeBuilder.buildKtType(coneSubstitutor.substituteOrSelf(coneType))
        }
        override val receiverType: KaType? by cached {
            firSymbol.resolvedReceiverTypeRef?.let { typeRef ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirJvmTypeMapper.kt

            return analysisSession.useSiteSession.jvmTypeMapper.mapType(type.coneType, mode, sw = null, unresolvedQualifierRemapper = null)
        }
    
        override fun isPrimitiveBacked(type: KaType): Boolean {
            return analysisSession.useSiteSession.jvmTypeMapper.isPrimitiveBacked(type.coneType)
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSessionComponent.kt

            check(firDiagnostic is KtPsiDiagnostic)
            return firDiagnostic.asKtDiagnostic()
        }
    
        val KaType.coneType: ConeKotlinType
            get() {
                require(this is KaFirType)
                return coneType
            }
    
        val KaTypeProjection.coneTypeProjection: ConeTypeProjection
            get() = when (this) {
                is KaStarTypeProjection -> ConeStarProjection
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top