aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/model/additionalExtras.kt6
1 files changed, 6 insertions, 0 deletions
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