Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KtFirFileScope (0.17 sec)

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

    import org.jetbrains.kotlin.fir.declarations.FirSimpleFunction
    import org.jetbrains.kotlin.fir.declarations.FirTypeAlias
    import org.jetbrains.kotlin.name.Name
    
    internal class KtFirFileScope(
        private val owner: KtFirFileSymbol,
        private val builder: KtSymbolByFirBuilder
    ) : KtScope {
        override val token: KtLifetimeToken get() = builder.token
    
        private val allNamesCached by cached {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Mon May 22 19:21:34 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

        override fun getFileScope(fileSymbol: KtFileSymbol): KtScope {
            check(fileSymbol is KtFirFileSymbol) { "KtFirScopeProvider can only work with KtFirFileSymbol, but ${fileSymbol::class} was provided" }
            return KtFirFileScope(fileSymbol, builder)
        }
    
        override fun getEmptyScope(): KtScope {
            return KtEmptyScope(token)
        }
    
        override fun getPackageScope(packageSymbol: KtPackageSymbol): 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)
Back to top