ExpressionScope

View Markdown
sealed interface ExpressionScope

A position that accepts an expression, or a body that records expression statements.

Inheritors

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
open fun hexLiteral(value: Long, chain: ChainScope.() -> Unit = {})
Link copied to clipboard
open fun ifExpression(configure: IfExpressionScope.() -> Unit)
Link copied to clipboard
open fun lambdaExpression(body: LambdaBodyScope.() -> Unit)
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
open fun tryExpression(configure: TryScope.() -> Unit)
Link copied to clipboard
open fun whenExpression(configure: WhenScope.() -> Unit)