ElseWhenBranch

data class ElseWhenBranch(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 else keyword.

Constructors

Link copied to clipboard
constructor(arrow: Node.Keyword.Arrow, body: Node.Expression, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard
open override val arrow: Node.Keyword.Arrow

arrow symbol.

Link copied to clipboard
open override val body: Node.Expression

body expression of this branch.

Link copied to clipboard

always empty list.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.