java go byebye

This commit is contained in:
Alex Zenla 2025-07-26 15:55:09 -07:00
parent 08f9b6f2ae
commit ce8ddb6dc1
No known key found for this signature in database
GPG Key ID: 067B238899B51269
2 changed files with 3 additions and 12 deletions

View File

@ -1,6 +1,7 @@
package gay.pizza.pork.buildext.ast
enum class AstPrimitive(val id: String) {
@Suppress("RemoveRedundantQualifierName")
enum class AstPrimitive(val id: kotlin.String) {
Boolean("Boolean"),
String("String"),
Int("Int"),

View File

@ -1,11 +1,9 @@
package gay.pizza.pork.common
import java.util.stream.IntStream
class IndentBuffer(
val buffer: StringBuilder = StringBuilder(),
indent: String = " "
) : IndentTracked(indent), Appendable by buffer, CharSequence by buffer {
) : IndentTracked(indent), Appendable by buffer {
override fun emit(text: String) {
append(text)
}
@ -15,12 +13,4 @@ class IndentBuffer(
}
override fun toString(): String = buffer.toString()
override fun chars(): IntStream {
return buffer.chars()
}
override fun codePoints(): IntStream {
return buffer.codePoints()
}
}