FIR IDE: introduce composite scopes
This commit is contained in:
@@ -22,6 +22,10 @@ interface KtScope : ValidityOwner {
|
||||
fun containsName(name: Name): Boolean
|
||||
}
|
||||
|
||||
interface KtCompositeScope : KtScope {
|
||||
val subScopes: List<KtScope>
|
||||
}
|
||||
|
||||
interface KtMemberScope : KtScope {
|
||||
val owner: KtClassOrObjectSymbol
|
||||
}
|
||||
|
||||
+1
@@ -13,4 +13,5 @@ abstract class KtScopeProvider : ValidityOwner {
|
||||
abstract fun getMemberScope(classSymbol: KtClassOrObjectSymbol): KtMemberScope
|
||||
abstract fun getDeclaredMemberScope(classSymbol: KtClassOrObjectSymbol): KtDeclaredMemberScope
|
||||
abstract fun getPackageScope(packageSymbol: KtPackageSymbol): KtPackageScope
|
||||
abstract fun getCompositeScope(subScopes: List<KtScope>): KtCompositeScope
|
||||
}
|
||||
Reference in New Issue
Block a user