PostModifier

sealed interface PostModifier : Node

Common interface for post-modifiers.

Inheritors

Types

Link copied to clipboard
data class Contract(    val lBracket: Node.Keyword.LBracket,     val contractEffects: List<Node.Expression>,     val rBracket: Node.Keyword.RBracket,     val supplement: NodeSupplement = NodeSupplement()) : Node.PostModifier

AST node that represents a contract. The node corresponds to a pair of "contract" keyword and KtContractEffectList.

Link copied to clipboard
data class TypeConstraintSet(    val constraints: List<Node.PostModifier.TypeConstraintSet.TypeConstraint>,     val supplement: NodeSupplement = NodeSupplement()) : Node.PostModifier

AST node that represents a type constraint set. The node corresponds to a pair of "where" keyword and KtTypeConstraintList.

Properties

Link copied to clipboard

Supplemental data for the node.