FIR IDE: Add parameter's and type's properties required for completion

This commit is contained in:
Roman Golyshev
2020-08-10 18:19:16 +03:00
parent 67ed33367f
commit b3a674abee
5 changed files with 16 additions and 6 deletions
@@ -13,7 +13,9 @@ abstract class KtEnumEntrySymbol : KtVariableLikeSymbol() {
final override val symbolKind: KtSymbolKind get() = KtSymbolKind.MEMBER
}
abstract class KtParameterSymbol : KtVariableLikeSymbol()
abstract class KtParameterSymbol : KtVariableLikeSymbol() {
abstract val hasDefaultValue: Boolean
}
abstract class KtVariableSymbol : KtVariableLikeSymbol() {
abstract val isVal: Boolean
@@ -16,6 +16,8 @@ interface KtType : ValidityTokenOwner {
fun isEqualTo(other: KtType): Boolean
fun isSubTypeOf(superType: KtType): Boolean
val isBuiltInFunctionalType: Boolean
fun asStringForDebugging(): String
}