Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for computed (0.17 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

    /**
     * Whether unbound IR symbols should be stubbed instead of linked.
     * This should be enabled if the compiled file could refer to symbols defined in another file of the same module.
     * Such symbols are not compiled (only the file is passed to the backend) and so they cannot be linked from a dependency.
     */
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 01 13:22:55 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

            callableShortenStrategy: (KtCallableSymbol) -> ShortenStrategy
        ): ShortenCommand {
            require(!file.isCompiled) { "No sense to collect references for shortening in compiled file $file" }
    
            val declarationToVisit = file.findSmallestElementOfTypeContainingSelection<KtDeclaration>(selection)
                ?: file
    
    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/scopes/DeclarationsInPackageProvider.kt

     * not necessarily the case for declaration providers (e.g. the IDE declaration provider hitting the index without caching).
     *
     * However, since symbol names providers may not be able to compute name sets per their contract, we may have to fall back to the
     * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider].
     *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolProviderByJavaPsi.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.fir.components
    
    import com.intellij.psi.*
    import com.intellij.psi.impl.compiled.ClsElementImpl
    import org.jetbrains.kotlin.analysis.api.KtAnalysisApiInternals
    import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession
    import org.jetbrains.kotlin.analysis.api.fir.symbols.KtFirPsiJavaClassSymbol
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
    
            if (source.kind != KtRealSourceElementKind) {
                errorWithAttachment("Cannot compute containing PSI for unknown source kind '${source.kind}' (${psi::class.simpleName})") {
                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. ChangeLog.md

    - [`KT-60317`](https://youtrack.jetbrains.com/issue/KT-60317) K2 IDE. IAE "This method will only work on compiled declarations, but this declaration is not compiled" on invoking Find Usages for enum method in library
    - [`KT-60706`](https://youtrack.jetbrains.com/issue/KT-60706) K2 IDE: FirJvmTypeMapper is not found for kotlin.kotlin-stdlib-common
    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/diagnostics/KtFirDataClassConverters.kt

            PreReleaseClassImpl(
                firDiagnostic.a,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.IR_WITH_UNSTABLE_ABI_COMPILED_CLASS) { firDiagnostic ->
            IrWithUnstableAbiCompiledClassImpl(
                firDiagnostic.a,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
    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)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineDelegatedPropertyAccessorsAnalyzer.kt

        // so the lowering fails.
        //
        // To solve the problem, we need to find all delegated properties with inline accessors
        // reachable from files that will be compiled, and include files these inline accessors
        // to the set of files that will be compiled (and do the same for these files recursively).
        // As it's basically a DAG traversal, we can keep a queue instead of making recursive calls.
        val allFiles = this
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                else -> throwUnexpectedFirElementError(fir, ktTypeReference)
            }
        }
    
        /**
         * Try to get fir element for type reference through symbols.
         * When the type is declared in compiled code this is faster than building FIR from decompiled text.
         */
        private fun KtTypeReference.getFirBySymbols(): FirElement? {
            val parent = parent
            return when {
    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)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                    remove(file)
                }
    
                addAll(dependencyFiles)
                add(file)
            }
    
            // Files in the code fragment context module are compiled together with the code fragment itself.
            val targetModules = computeTargetModules(mainFirFile.llFirModuleData.ktModule)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
Back to top