[Generator] Generate Boolean class

This commit is contained in:
Ivan Kylchik
2023-07-21 15:17:17 +02:00
committed by Space Team
parent 3f3cd2e87a
commit 38e434bc07
11 changed files with 410 additions and 101 deletions
@@ -244,6 +244,8 @@ abstract class BasePrimitivesGenerator(private val writer: PrintWriter) : BuiltI
klass {
appendDoc("Represents a ${typeDescriptions[thisKind]}.")
name = className
superType("Number()")
superType("Comparable<$name>")
generateCompanionObject(thisKind)
generateCompareTo(thisKind)