aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/api/core.api17
-rw-r--r--core/src/main/kotlin/model/additionalExtras.kt6
2 files changed, 23 insertions, 0 deletions
diff --git a/core/api/core.api b/core/api/core.api
index e8445608..91ea34d3 100644
--- a/core/api/core.api
+++ b/core/api/core.api
@@ -681,6 +681,18 @@ public final class org/jetbrains/dokka/model/ArrayValue : org/jetbrains/dokka/mo
public fun toString ()Ljava/lang/String;
}
+public final class org/jetbrains/dokka/model/BooleanValue : org/jetbrains/dokka/model/LiteralValue {
+ public fun <init> (Z)V
+ public final fun component1 ()Z
+ public final fun copy (Z)Lorg/jetbrains/dokka/model/BooleanValue;
+ public static synthetic fun copy$default (Lorg/jetbrains/dokka/model/BooleanValue;ZILjava/lang/Object;)Lorg/jetbrains/dokka/model/BooleanValue;
+ public fun equals (Ljava/lang/Object;)Z
+ public final fun getValue ()Z
+ public fun hashCode ()I
+ public fun text ()Ljava/lang/String;
+ public fun toString ()Ljava/lang/String;
+}
+
public abstract class org/jetbrains/dokka/model/Bound : org/jetbrains/dokka/model/Projection, org/jetbrains/dokka/model/AnnotationTarget {
}
@@ -1749,6 +1761,11 @@ public abstract class org/jetbrains/dokka/model/Modifier {
public final fun getName ()Ljava/lang/String;
}
+public final class org/jetbrains/dokka/model/NullValue : org/jetbrains/dokka/model/LiteralValue {
+ public static final field INSTANCE Lorg/jetbrains/dokka/model/NullValue;
+ public fun text ()Ljava/lang/String;
+}
+
public final class org/jetbrains/dokka/model/Nullable : org/jetbrains/dokka/model/Bound {
public fun <init> (Lorg/jetbrains/dokka/model/Bound;)V
public final fun component1 ()Lorg/jetbrains/dokka/model/Bound;
diff --git a/core/src/main/kotlin/model/additionalExtras.kt b/core/src/main/kotlin/model/additionalExtras.kt
index 9249b089..4f78e7af 100644
--- a/core/src/main/kotlin/model/additionalExtras.kt
+++ b/core/src/main/kotlin/model/additionalExtras.kt
@@ -88,6 +88,12 @@ data class FloatValue(val value: Float) : LiteralValue() {
data class DoubleValue(val value: Double) : LiteralValue() {
override fun text(): String = value.toString()
}
+object NullValue : LiteralValue() {
+ override fun text(): String = "null"
+}
+data class BooleanValue(val value: Boolean) : LiteralValue() {
+ override fun text(): String = value.toString()
+}
data class StringValue(val value: String) : LiteralValue() {
override fun text(): String = value
override fun toString(): String = value