Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for recover (0.17 sec)

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

        ): KtImplicitReceiverSmartCast? {
            val receiver = when (kind) {
                KtImplicitReceiverSmartCastKind.DISPATCH -> firExpression.dispatchReceiver
                KtImplicitReceiverSmartCastKind.EXTENSION -> firExpression.extensionReceiver
            }
    
            if (receiver == null || receiver == firExpression.explicitReceiver) return null
            if (!receiver.isStableSmartcast()) return null
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Sep 14 10:03:02 GMT 2023
    - 6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompletionCandidateChecker.kt

    import org.jetbrains.kotlin.analysis.low.level.api.fir.api.getOrBuildFirOfType
    import org.jetbrains.kotlin.analysis.low.level.api.fir.resolver.ResolutionParameters
    import org.jetbrains.kotlin.analysis.low.level.api.fir.resolver.SingleCandidateResolutionMode
    import org.jetbrains.kotlin.analysis.low.level.api.fir.resolver.SingleCandidateResolver
    import org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.llFirSession
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

        ): T = constructor(
            if (valueParameterReference.parameterIndex == -1) firFunctionSymbol.receiverParameter
                ?: errorWithAttachment("${firFunctionSymbol::class} should contain a receiver") {
                    withFirEntry("fir", firFunctionSymbol.firSymbol.fir)
                }
            else firFunctionSymbol.valueParameters[valueParameterReference.parameterIndex]
        )
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Jul 26 14:29:20 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. .space/CODEOWNERS

    /libraries/tools/kotlin-maven-noarg/ "Kotlin Build Tools"
    /libraries/tools/kotlin-maven-plugin/ "Kotlin Build Tools"
    /libraries/tools/kotlin-maven-plugin-test/ "Kotlin Build Tools"
    /libraries/tools/kotlin-maven-sam-with-receiver/ "Kotlin Build Tools"
    /libraries/tools/kotlin-maven-serialization/ "Kotlin Build Tools"
    /libraries/tools/kotlin-osgi-bundle/ "Kotlin Build Tools"
    /libraries/tools/kotlin-noarg/ "Kotlin Build Tools"
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

         * prefixed with a suitable extension receiver type (like in `Foo.bar`, or `foo.Foo.bar`).
         *
         * Relies on the fact that in such references only the last qualifier refers to the
         * actual extension callable, and the part before that refers to the receiver type (either fully
         * or partially qualified).
         *
    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)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                val ownerDescriptor = implicitReceiver.containingDeclaration
                val owner = ownerDescriptor.toKtSymbol(analysisContext)
    
                if (owner == null) {
                    LOG.error("Unexpected implicit receiver owner: $ownerDescriptor (${ownerDescriptor.javaClass})")
                    continue
                }
    
                result += KtImplicitReceiver(token, type, owner, index)
            }
    
            return result
        }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                     *   }
                     *
                     * In the above code, we must prevent it from shortening `a.b.c.foo(3, "test")`. However, if we explicitly pass the type
                     * arguments to the resolver, the resolver considers it has some explicit type arguments. Therefore, it reports that the
                     * only function matching the signature is A, because B does not have type parameters. However, actually B also matches the
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                    if (receiverExpression !is KtDotQualifiedExpression) {
                        // If the receiver is not a KtDotQualifiedExpression, it means we are hitting the end of nested receivers. In other
                        // words, this receiver expression should be pointing at an unqualified name of a class, whose class ID is
                        // `outerClassId`.
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt

        override val returnType: KtType get() = withValidityAssertion { firSymbol.returnType(analysisSession.firSymbolBuilder) }
        override val receiverParameter: KtReceiverParameterSymbol? get() = withValidityAssertion { firSymbol.receiver(builder) }
    
        override val contextReceivers: List<KtContextReceiver> by cached { firSymbol.createContextReceivers(builder) }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                isImplicitInvoke = true
    
                // For implicit invoke, the explicit receiver is always set in FIR and this receiver is the variable or property that has
                // the `invoke` member function. In this case, we use the `calleeExpression` in the `KtCallExpression` as the PSI
                // representation of this receiver. Caller can then use this PSI for further call resolution, which is implemented by the
    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)
Back to top