Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for do (0.14 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            val classSymbol = shorteningContext.toClassSymbol(qualifierClassId) ?: return null
    
            val option = classShortenStrategy(classSymbol)
            if (option == ShortenStrategy.DO_NOT_SHORTEN) return null
    
            // If its parent has a type parameter, we do not shorten it ATM because it will lose its type parameter. See KTIJ-26072
            if (classSymbol.hasTypeParameterFromParent()) return null
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        }
    }
    
    /**
     * This logic should be equivalent to
     * [org.jetbrains.kotlin.analysis.api.fir.KtSymbolByFirBuilder.unwrapSubstitutionOverrideIfNeeded]. But this method unwrap all fake
     * overrides that do not change the signature.
     */
    internal fun CallableDescriptor.unwrapFakeOverrideIfNeeded(): CallableDescriptor {
        val useSiteUnwrapped = unwrapUseSiteSubstitutionOverride()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         *
         * It's possible that the whole qualifier is invalid, in this case we still want to resolve our [selectedFqName].
         * To do this, we are trying to resolve the whole qualifier until we succeed.
         *
         * @param selectedFqName the selected fully qualified name of the KDoc
         * @param fullFqName the whole fully qualified name of the KDoc
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnosticsImpl.kt

    import org.jetbrains.kotlin.serialization.deserialization.IncompatibleVersionErrorData
    import org.jetbrains.kotlin.types.Variance
    
    /*
     * This file was generated automatically
     * DO NOT MODIFY IT MANUALLY
     */
    
    internal class UnsupportedImpl(
        override val unsupported: String,
        firDiagnostic: KtPsiDiagnostic,
        token: KtLifetimeToken,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 225.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

         * `FirImplicitInvokeCall`.
         *
         * Note that, if the calleeExpression is already a KtCallExpression, then we don't do this because such a callExpression can be properly
         * resolved to the desired FIR element. That is, cases like `getHighLevelFunction()()` just works, where the both `KtCallExpression`
         * resolve to the desired FIR element.
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // is different from the return type of the constructor.
                //
                // TODO: This seems a little indirect. Is there a better way to do this? For FE1.0 there is
                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

    import org.jetbrains.kotlin.serialization.deserialization.IncompatibleVersionErrorData
    import org.jetbrains.kotlin.types.Variance
    
    /*
     * This file was generated automatically
     * DO NOT MODIFY IT MANUALLY
     */
    
    sealed interface KtFirDiagnostic<PSI : PsiElement> : KtDiagnosticWithPsi<PSI> {
        interface Unsupported : KtFirDiagnostic<PsiElement> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 171.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

    import org.jetbrains.kotlin.psi.KtWhenCondition
    import org.jetbrains.kotlin.psi.KtWhenEntry
    import org.jetbrains.kotlin.psi.KtWhenExpression
    
    /*
     * This file was generated automatically
     * DO NOT MODIFY IT MANUALLY
     */
    
    internal val KT_DIAGNOSTIC_CONVERTER = KtDiagnosticConverterBuilder.buildConverter {
        add(FirErrors.UNSUPPORTED) { firDiagnostic ->
            UnsupportedImpl(
                firDiagnostic.a,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                        suppressWildcards,
                    )
            }
        }
    
        private fun simplifyType(type: UnwrappedType): KotlinType {
            var result = type
            do {
                val oldResult = result
                result = when (type) {
                    is FlexibleType -> type.upperBound
                    is DefinitelyNotNullType -> type.original
                    else -> type
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

        val visibilityForApproximation = useSitePosition.visibilityForApproximation
        // TODO: See if the given [useSitePosition] is an `inline` method
        val isInlineFunction = false
        var currentType = this
        do {
            val oldType = currentType
            currentType = currentType.fullyExpandedType(session)
            if (currentType is ConeDynamicType) {
                return currentType
            }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top