LabeledExpression

data class LabeledExpression(val label: Node.Expression.NameExpression, val statement: Node.Statement, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression

AST node that represents an expression prefixed by a label. The node corresponds to KtLabeledExpression.

Constructors

Link copied to clipboard
constructor(label: Node.Expression.NameExpression, statement: Node.Statement, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

label before @ symbol.

Link copied to clipboard

statement labeled by label.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.