ConditionalWhenBranch
data class ConditionalWhenBranch(val conditions: List<Node.Expression.WhenExpression.WhenCondition>, val arrow: Node.Keyword.Arrow, val body: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression.WhenExpression.WhenBranch
AST node that represents a when branch with conditions.
Constructors
Link copied to clipboard
constructor(conditions: List<Node.Expression.WhenExpression.WhenCondition>, arrow: Node.Keyword.Arrow, body: Node.Expression, supplement: NodeSupplement = NodeSupplement())