add writePackage to KotlinWriter
This commit is contained in:
committed by
Yan Zhulanow
parent
d107ad92a0
commit
3c9ec30c20
@@ -66,6 +66,10 @@ class KotlinStringWriter : KotlinWriter {
|
|||||||
imports.writeln("import $what")
|
imports.writeln("import $what")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun writePackage(_package: String) {
|
||||||
|
ctx.writeln("package $_package\n")
|
||||||
|
}
|
||||||
|
|
||||||
fun writeEmptyLine() {
|
fun writeEmptyLine() {
|
||||||
body.newLine()
|
body.newLine()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user