GetterBodyScope

View Markdown

Functions

Link copied to clipboard
open fun call(name: String, configure: CallScope.() -> Unit = {})
Link copied to clipboard
open fun chain(body: ChainScope.() -> Unit)
Link copied to clipboard
fun comment(text: String)
Link copied to clipboard
open fun hexLiteral(value: Long, chain: ChainScope.() -> Unit = {})
Link copied to clipboard
open fun ifExpression(configure: IfExpressionScope.() -> Unit)
Link copied to clipboard
fun ifStatement(configure: IfStatementScope.() -> 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 ktValue(name: String, configure: PropertyScope.() -> Unit)
Link copied to clipboard
fun ktVariable(name: String, configure: PropertyScope.() -> Unit)
Link copied to clipboard
open fun lambdaExpression(body: LambdaBodyScope.() -> Unit)
Link copied to clipboard
fun line()
Link copied to clipboard
fun lines(count: Int)
Link copied to clipboard
open fun literal(value: Any?, chain: ChainScope.() -> Unit = {})
open fun literal(value: Double, chain: ChainScope.() -> Unit = {})
open fun literal(value: Float, chain: ChainScope.() -> Unit = {})
open fun literal(value: Int, chain: ChainScope.() -> Unit = {})
Link copied to clipboard
open fun nullValue(chain: ChainScope.() -> Unit = {})
Link copied to clipboard
open fun reference(name: String, chain: ChainScope.() -> Unit = {})
Link copied to clipboard
fun returnStatement(label: String? = null, body: ExpressionScope.() -> Unit? = null)
Link copied to clipboard
open fun tryExpression(configure: TryScope.() -> Unit)
Link copied to clipboard
open fun whenExpression(configure: WhenScope.() -> Unit)