diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-03-20 15:27:30 +0100 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-03-26 12:36:03 +0100 |
commit | 8a87b5e0bd2eda12f4e44512e3f8856c72e53b3e (patch) | |
tree | 75b10c56bd933e2cfdcf0c32492ce9d6b61b1533 /core/src | |
parent | 8ef04b5d6bb46a5fbd9cea9b8d08048bc9f03879 (diff) | |
download | dokka-8a87b5e0bd2eda12f4e44512e3f8856c72e53b3e.tar.gz dokka-8a87b5e0bd2eda12f4e44512e3f8856c72e53b3e.tar.bz2 dokka-8a87b5e0bd2eda12f4e44512e3f8856c72e53b3e.zip |
Changed modifier to PlatformDependent
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/kotlin/model/Documentable.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/model/Documentable.kt b/core/src/main/kotlin/model/Documentable.kt index 6215be18..00a26d90 100644 --- a/core/src/main/kotlin/model/Documentable.kt +++ b/core/src/main/kotlin/model/Documentable.kt @@ -63,7 +63,7 @@ interface WithType { } interface WithAbstraction { - val modifier: Modifier + val modifier: PlatformDependent<Modifier> } sealed class Modifier(val name: String) @@ -146,7 +146,7 @@ data class DClass( override val generics: List<DTypeParameter>, override val supertypes: PlatformDependent<List<DRI>>, override val documentation: PlatformDependent<DocumentationNode>, - override val modifier: Modifier, + override val modifier: PlatformDependent<Modifier>, override val platformData: List<PlatformData>, override val extra: PropertyContainer<DClass> = PropertyContainer.empty() ) : DClasslike(), WithAbstraction, WithCompanion, WithConstructors, WithGenerics, WithSupertypes, @@ -207,7 +207,7 @@ data class DFunction( override val type: Bound, override val generics: List<DTypeParameter>, override val receiver: DParameter?, - override val modifier: Modifier, + override val modifier: PlatformDependent<Modifier>, override val platformData: List<PlatformData>, override val extra: PropertyContainer<DFunction> = PropertyContainer.empty() ) : Documentable(), Callable, WithGenerics, WithExtraProperties<DFunction> { @@ -287,7 +287,7 @@ data class DProperty( override val receiver: DParameter?, val setter: DFunction?, val getter: DFunction?, - override val modifier: Modifier, + override val modifier: PlatformDependent<Modifier>, override val platformData: List<PlatformData>, override val extra: PropertyContainer<DProperty> = PropertyContainer.empty() ) : Documentable(), Callable, WithExtraProperties<DProperty> { |