Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun comment(text: String)
Link copied to clipboard
fun companionObject(name: String? = null, configure: ObjectScope.() -> Unit = {})
Link copied to clipboard
fun constructor(configure: ConstructorScope.() -> Unit)
Link copied to clipboard
fun ktClass(name: String, configure: ClassScope.() -> Unit = {})
Link copied to clipboard
fun ktFunction(name: String, configure: FunctionScope.() -> Unit = {})
Link copied to clipboard
fun ktInterface(name: String, configure: InterfaceScope.() -> Unit = {})
Link copied to clipboard
fun ktObject(name: String, configure: ObjectScope.() -> Unit = {})
Link copied to clipboard
fun ktValue(name: String, configure: PropertyScope.() -> Unit)
Link copied to clipboard
fun ktVariable(name: String, configure: PropertyScope.() -> Unit)
Link copied to clipboard
fun line()
Link copied to clipboard
fun lines(count: Int)
Link copied to clipboard
fun superclass(name: String, configure: CallScope.() -> Unit = {})

Calls the superclass constructor; arguments use the same DSL as ordinary calls.

Link copied to clipboard
fun supertype(body: TypeScope.() -> Unit)