BlockExpression

data class BlockExpression(val statements: List<Node.Statement>, val supplement: NodeSupplement = NodeSupplement()) : Node.Expression, Node.WithStatements

AST node that represents a block expression. The node corresponds to KtBlockExpression.

Constructors

Link copied to clipboard
constructor(statements: List<Node.Statement>, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard
open override val statements: List<Node.Statement>

list of statements.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.