Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PublicApproximatorConfiguration (0.4 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/PublicApproximatorConfiguration.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.descriptors.utils
    
    import org.jetbrains.kotlin.types.TypeApproximatorConfiguration
    
    @Suppress("SpellCheckingInspection")
    internal class PublicApproximatorConfiguration(override val localTypes: Boolean) : TypeApproximatorConfiguration.AllFlexibleSameValue() {
        override val allFlexible: Boolean get() = false
        override val errorType: Boolean get() = true
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:58 GMT 2022
    - 823 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt

            val coneType = (type as KtFirType).coneType
            return analysisSession.useSiteSession.typeApproximator.approximateToSuperType(
                coneType,
                PublicTypeApproximator.PublicApproximatorConfiguration(false)
            ) == null
        }
    
        override fun isArrayOrPrimitiveArray(type: KtType): Boolean {
            require(type is KtFirType)
            return type.coneType.isArrayOrPrimitiveArray
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jan 03 17:15:50 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                ?.toKtType(analysisContext)
        }
    
        override fun approximateToSubPublicDenotableType(type: KtType, approximateLocalTypes: Boolean): KtType? {
            require(type is KtFe10Type)
            return typeApproximator.approximateToSubType(type.fe10Type, PublicApproximatorConfiguration(approximateLocalTypes))
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            val coneType = type.coneType
            val approximatedConeType = rootModuleSession.typeApproximator.approximateToSubType(
                coneType,
                PublicTypeApproximator.PublicApproximatorConfiguration(localTypes = approximateLocalTypes),
            )
    
            return approximatedConeType?.asKtType()
        }
    
        override fun getEnhancedType(type: KtType): KtType? {
            require(type is KtFirType)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top