Initializer

data class Initializer(val block: Node.Expression.BlockExpression, val supplement: NodeSupplement = NodeSupplement()) : Node.Declaration

AST node that represents an init block, a.k.a. initializer. The node corresponds to KtAnonymousInitializer.

Constructors

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

Properties

Link copied to clipboard

block of the initializer.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.