ExpressionWhenCondition

data class ExpressionWhenCondition(val expression: Node.Expression, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression.WhenExpression.WhenCondition

AST node that represents a when condition using expression. The node corresponds to KtWhenConditionWithExpression.

Constructors

Link copied to clipboard
constructor(expression: Node.Expression, supplement: NodeSupplement = NodeSupplement())

Properties

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

condition expression.

Link copied to clipboard
open override val operator: Nothing? = null

always null.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.

Link copied to clipboard
open override val type: Nothing? = null

always null.