Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Rachel (0.15 sec)

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

                }
            }
        }
    }
    
    
    private class BuilderCache<From, To : KtSymbol> {
        private val cache = ContainerUtil.createConcurrentWeakKeySoftValueMap<From, To>()
    
        inline fun <reified S : To> cache(key: From, calculation: () -> S): S {
            val value = cache.getOrPut(key, calculation)
            return value as? S
                ?: errorWithAttachment("Cannot cast ${value::class} to ${S::class}") {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

             * with [getCompositeScope]) avoids duplicate inner classes, as they are contained in non-static and static scopes.
             *
             * A proper combined declared member scope kind also makes it easier to cache combined scopes directly (if needed).
             */
            COMBINED,
        }
    
        private fun getDeclaredMemberScope(classSymbol: KtSymbolWithMembers, kind: DeclaredMemberScopeKind): KtScope {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

                val dependencyFiles = buildSet {
                    addAll(compilationPeerData.files)
                    addAll(codeFragmentMappings?.capturedFiles.orEmpty())
    
                    // The main file needs to be the last so caches for the context declarations are populated in FIR-to-IR.
                    remove(file)
                }
    
                addAll(dependencyFiles)
                add(file)
            }
    
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            // TODO: We should prefer to compare symbols instead of descriptors, but we can't do so while symbols are not cached.
            fun KtCall.isInBestCandidates(): Boolean {
                val descriptor = this.safeAs<KtFunctionCall<*>>()?.descriptor as? CallableDescriptor
                return descriptor != null && bestCandidateDescriptors.any { it ->
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
Back to top