SLC: add support for .kts
^KTIJ-21108 ^KT-50241 ^KT-55626 Fixed
This commit is contained in:
committed by
Dmitrii Gridin
parent
4327c6645a
commit
f9086daf4d
+6
@@ -173,6 +173,7 @@ public sealed class KtScopeKind {
|
||||
* Represents [KtTypeScope], which doesn't include synthetic Java properties of corresponding type.
|
||||
*/
|
||||
public class SimpleTypeScope(override val indexInTower: Int) : TypeScope()
|
||||
|
||||
public class SyntheticJavaPropertiesScope(override val indexInTower: Int) : TypeScope()
|
||||
|
||||
public sealed class NonLocalScope : KtScopeKind()
|
||||
@@ -216,6 +217,11 @@ public sealed class KtScopeKind {
|
||||
* Represents [KtScope] containing static members of a classifier.
|
||||
*/
|
||||
public class StaticMemberScope(override val indexInTower: Int) : NonLocalScope()
|
||||
|
||||
/**
|
||||
* Represents [KtScope] containing members of a script.
|
||||
*/
|
||||
public class ScriptMemberScope(override val indexInTower: Int) : NonLocalScope()
|
||||
}
|
||||
|
||||
public data class KtScopeWithKind(
|
||||
|
||||
+2
-1
@@ -8,9 +8,10 @@ package org.jetbrains.kotlin.analysis.api.symbols
|
||||
import org.jetbrains.kotlin.analysis.api.KtAnalysisSession
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtAnnotatedSymbol
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtNamedSymbol
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.markers.KtSymbolWithMembers
|
||||
import org.jetbrains.kotlin.analysis.api.symbols.pointers.KtSymbolPointer
|
||||
|
||||
public abstract class KtScriptSymbol : KtDeclarationSymbol, KtAnnotatedSymbol, KtNamedSymbol {
|
||||
public abstract class KtScriptSymbol : KtDeclarationSymbol, KtAnnotatedSymbol, KtNamedSymbol, KtSymbolWithMembers {
|
||||
context(KtAnalysisSession)
|
||||
abstract override fun createPointer(): KtSymbolPointer<KtScriptSymbol>
|
||||
}
|
||||
Reference in New Issue
Block a user