Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for NoneType (0.13 sec)

  1. 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)
  2. 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorFactory.kt

                    check(ktTypeParameterSymbol is KaFirTypeParameterSymbol)
                    check(ktType is KaFirType)
                    put(ktTypeParameterSymbol.firSymbol, ktType.coneType)
                }
            }
    
            return when (val coneSubstitutor = ConeSubstitutorByMap.create(firSubstitution, analysisSession.useSiteSession)) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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)
Back to top