Searched refs:CodeChunk (Results 1 – 1 of 1) sorted by relevance
91 var codeChunks = buildList<CodeChunk> { in <lambda>()93 add(CodeChunk.FileHeader( in <lambda>()95 add(CodeChunk.DataClass.parse(mainClassBounds)) in <lambda>()103 fun print(chunk: CodeChunk) { in <lambda>()105 is CodeChunk.GeneratedCode -> { in <lambda>()109 it.javaClass == CodeChunk.Code::class.java in <lambda>()110 || it.javaClass == CodeChunk.ClosingBrace::class.java in <lambda>()112 .flatMap { (it as CodeChunk.Code).lines } in <lambda>()122 is CodeChunk.ClosingBrace -> { in <lambda>()129 is CodeChunk.Code -> chunk.lines.forEach { stringBuilder.appendln(it) } in <lambda>()[all …]