Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for approximateTypeToPublicDenotable (0.24 sec)

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

    import org.jetbrains.kotlin.fir.types.typeApproximator
    import org.jetbrains.kotlin.types.TypeApproximatorConfiguration
    
    internal object PublicTypeApproximator {
        fun approximateTypeToPublicDenotable(
            type: ConeKotlinType,
            session: FirSession,
            approximateLocalTypes: Boolean
        ): ConeKotlinType? {
            val approximator = session.typeApproximator
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Feb 07 10:36:36 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

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

            // TODO: can we approximate local types in type arguments *selectively* ?
            currentType = PublicTypeApproximator.approximateTypeToPublicDenotable(currentType, session, needLocalTypeApproximation)
                ?: currentType
    
        } while (oldType !== currentType)
        if (typeArguments.isNotEmpty()) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top