IndentScope

class IndentScope(val indent: String, val stringBuilder: StringBuilder)

Constructors

Link copied to clipboard
fun IndentScope(indent: String, stringBuilder: StringBuilder)

Functions

Link copied to clipboard
fun append(c: Char)
fun append(str: String)
Link copied to clipboard
fun appendLine(c: Char)
fun appendLine(str: String)
Link copied to clipboard
fun indent(indent: String, action: IndentScope.() -> Unit)

Properties

Link copied to clipboard
private val indent: String
Link copied to clipboard
private val stringBuilder: StringBuilder

Sources

Link copied to clipboard