diff options
author | ebraminio <ebraminio@gmail.com> | 2022-05-16 18:45:40 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-16 17:15:40 +0300 |
commit | 658146291e2bbf3461a2c86f8e8e23cff6b211f6 (patch) | |
tree | 053cbef26286d3ac0247eca2e1dd1de97f801c79 /core/src/main | |
parent | c532003c71cc551ce0df797a8d6207c0edb8eaab (diff) | |
download | dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.gz dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.tar.bz2 dokka-658146291e2bbf3461a2c86f8e8e23cff6b211f6.zip |
Don't expose enum constructor arguments to documentations (#2497)
* Don't expose enum constructor arguments to documentation
Enum constructor arguments is mostly internal detail of enums that
isn't supposed to be exposed to clients of some library so let's
don't put it in the generated documentations result.
Diffstat (limited to 'core/src/main')
-rw-r--r-- | core/src/main/kotlin/model/additionalExtras.kt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/src/main/kotlin/model/additionalExtras.kt b/core/src/main/kotlin/model/additionalExtras.kt index d708d137..9b98448e 100644 --- a/core/src/main/kotlin/model/additionalExtras.kt +++ b/core/src/main/kotlin/model/additionalExtras.kt @@ -115,12 +115,3 @@ data class ActualTypealias(val underlyingType: SourceSetDependent<Bound>) : Extr override val key: ExtraProperty.Key<DClasslike, ActualTypealias> = ActualTypealias } - -data class ConstructorValues(val values: SourceSetDependent<List<Expression>>) : ExtraProperty<DEnumEntry> { - companion object : ExtraProperty.Key<DEnumEntry, ConstructorValues> { - override fun mergeStrategyFor(left: ConstructorValues, right: ConstructorValues) = - MergeStrategy.Replace(ConstructorValues(left.values + right.values)) - } - - override val key: ExtraProperty.Key<DEnumEntry, ConstructorValues> = ConstructorValues -} |