From 46c56dc71ed2c6d73a70ed4fd8255eeda2420ff4 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 1 Sep 2020 10:51:30 +0200 Subject: Remove topologicalSort since it is no longer used --- core/src/main/kotlin/model/Documentable.kt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'core/src') diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index 2efaf539..c7338458 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -83,7 +83,7 @@ interface WithIsExpectActual { val isExpectActual: Boolean } -interface Callable : WithVisibility, WithType, WithAbstraction, WithSources { +interface Callable : WithVisibility, WithType, WithAbstraction, WithSources, WithIsExpectActual { val receiver: DParameter? } @@ -150,7 +150,7 @@ data class DClass( override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() ) : DClasslike(), WithAbstraction, WithCompanion, WithConstructors, WithGenerics, WithSupertypes, - WithExtraProperties, WithIsExpectActual { + WithExtraProperties { override val children: List get() = (functions + properties + classlikes + constructors) @@ -175,7 +175,7 @@ data class DEnum( override val sourceSets: Set, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : DClasslike(), WithCompanion, WithConstructors, WithSupertypes, WithExtraProperties, WithIsExpectActual { +) : DClasslike(), WithCompanion, WithConstructors, WithSupertypes, WithExtraProperties { override val children: List get() = (entries + functions + properties + classlikes + constructors) @@ -215,7 +215,7 @@ data class DFunction( override val sourceSets: Set, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : Documentable(), Callable, WithGenerics, WithExtraProperties, WithIsExpectActual { +) : Documentable(), Callable, WithGenerics, WithExtraProperties { override val children: List get() = parameters @@ -238,7 +238,7 @@ data class DInterface( override val sourceSets: Set, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : DClasslike(), WithCompanion, WithGenerics, WithSupertypes, WithExtraProperties, WithIsExpectActual { +) : DClasslike(), WithCompanion, WithGenerics, WithSupertypes, WithExtraProperties { override val children: List get() = (functions + properties + classlikes) @@ -259,7 +259,7 @@ data class DObject( override val sourceSets: Set, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : DClasslike(), WithSupertypes, WithExtraProperties, WithIsExpectActual { +) : DClasslike(), WithSupertypes, WithExtraProperties { override val children: List get() = (functions + properties + classlikes) @@ -282,7 +282,7 @@ data class DAnnotation( override val sourceSets: Set, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : DClasslike(), WithCompanion, WithConstructors, WithExtraProperties, WithGenerics, WithIsExpectActual { +) : DClasslike(), WithCompanion, WithConstructors, WithExtraProperties, WithGenerics { override val children: List get() = (functions + properties + classlikes + constructors) @@ -305,7 +305,7 @@ data class DProperty( override val generics: List, override val isExpectActual: Boolean, override val extra: PropertyContainer = PropertyContainer.empty() -) : Documentable(), Callable, WithExtraProperties, WithGenerics, WithIsExpectActual { +) : Documentable(), Callable, WithExtraProperties, WithGenerics { override val children: List get() = emptyList() -- cgit