ControlFlowFn

data class ControlFlowFn(target: Expression?, body: Expression, argumentName: String, returnBehavior: ControlFlowFn.ReturnBehavior)

Describes the characteristics of a call to special control flow functions namely also, apply, let, run, with https://kotlinlang.org/docs/scope-functions.html#function-selection

Constructors

ControlFlowFn
Link copied to clipboard
fun ControlFlowFn(target: Expression?, body: Expression, argumentName: String, returnBehavior: ControlFlowFn.ReturnBehavior)

Types

ReturnBehavior
Link copied to clipboard
enum ReturnBehavior : Enum<ControlFlowFn.ReturnBehavior>

Describes whether functions return their argument or whatever is done in a block

Properties

argumentName
Link copied to clipboard
val argumentName: String
body
Link copied to clipboard
val body: Expression
returnBehavior
Link copied to clipboard
val returnBehavior: ControlFlowFn.ReturnBehavior
target
Link copied to clipboard
val target: Expression?