Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for one (0.14 sec)

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

         */
        fun allFiles(): List<KtFile> = analyzedElements.mapTo(mutableSetOf()) { it.containingKtFile }.toList()
    
        /**
         * Returns the set of [KtObjectDeclaration]s which are defined as an object literal in one of the reached inline functions.
         */
        fun inlineObjectDeclarations(): Set<KtObjectDeclaration> {
            val results = mutableSetOf<KtObjectDeclaration>()
    
            inlineFunctionsWithBody.forEach { inlineFunction ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            return closestClassId == classId || (closestClassId != classIdOfAnother && closestClassId == classId.idWithoutCompanion())
        }
    
        /**
         * Travels all containing classes of [innerClass] and finds the one matching ClassId with one of [candidates]. Returns the matching
         * ClassId. If it does not have a matching ClassId, it returns 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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceResolveProvider.kt

    ) : KtReferenceResolveProvider(), KtFirAnalysisSessionComponent {
        override fun resolveToSymbols(reference: KtReference): Collection<KtSymbol> {
            check(reference is KtSymbolBasedReference) { "To get reference symbol the one should be KtSymbolBasedReference" }
            with(reference) {
                return analysisSession.resolveToSymbols()
            }
        }
    
        override fun isImplicitReferenceToCompanion(reference: KtReference): Boolean {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 30 13:43:30 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  4. ReadMe.md

     * [TeamCity CI build](https://teamcity.jetbrains.com/project.html?tab=projectOverview&projectId=Kotlin)
    
    ## Kotlin Multiplatform capabilities
    
    Support for multiplatform programming is one of Kotlin’s key benefits. It reduces time spent writing and maintaining the same code for [different platforms](https://kotlinlang.org/docs/reference/mpp-supported-platforms.html) while retaining the flexibility and benefits of native programming.
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 11 14:28:46 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // When the source of an `FirResolvedQualifier` is a KtDotQualifiedExpression, we need to manually break up the qualified access and
            // resolve individual parts of it because in FIR, the entire qualified access is one element.
            if (referencedClass.isLocal) {
                // TODO: handle local classes after KT-47135 is fixed
                return referencedSymbolsByFir
            } else {
    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)
  6. ChangeLog.md

    - [`KT-62335`](https://youtrack.jetbrains.com/issue/KT-62335) Improve debuggability of code generator crashes
    - [`KT-61165`](https://youtrack.jetbrains.com/issue/KT-61165) More than one overridden descriptor declares a default value for 'cause: Throwable?'. As the compiler can not make sure these values agree, this is not allowed
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                    true
                }
                else -> {
                    false
                }
            }
        }
    
        /**
         * Returns `true` if the control graph contains at least one of the [firCandidates].
         */
        private fun ControlFlowGraph.contains(firCandidates: Set<FirElement>): Boolean {
            for (node in nodes) {
                if (node.fir in firCandidates) {
                    return true
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            checkWithAttachment(
                (explicitReceiver != null) == (explicitReceiverPsiSupplement != null),
                { "FIR and PSI for explicit receiver are inconsistent (one of them is null)" }
            ) {
                withPsiEntry("explicitReceiverPsi", explicitReceiverPsiSupplement)
                if (explicitReceiver != null) {
                    withFirEntry("explicitReceiverFir", explicitReceiver)
    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)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

    import org.jetbrains.kotlin.resolve.BindingContext
    
    @OptIn(KtAnalysisNonPublicApi::class)
    fun MutableSet<KtFile>.collectReachableInlineDelegatedPropertyAccessors() {
        if (isEmpty()) return
    
        // One of the compiler lowerings, namely `PropertyReferenceLowering`,
        // optimizes usages of property references in some cases,
        // and if a containing delegated property accessor is inline,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Aug 29 23:55:31 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

            BoundsNotAllowedIfBoundedByTypeParameterImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.ONLY_ONE_CLASS_BOUND_ALLOWED) { firDiagnostic ->
            OnlyOneClassBoundAllowedImpl(
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.REPEATED_BOUND) { firDiagnostic ->
    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)
Back to top