Contract

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.

Constructors

Link copied to clipboard
constructor(lBracket: Node.Keyword.LBracket, contractEffects: List<Node.Expression>, rBracket: Node.Keyword.RBracket, supplement: NodeSupplement = NodeSupplement())

Properties

Link copied to clipboard

contract effect expressions.

Link copied to clipboard

left bracket symbol of the contract effects.

Link copied to clipboard

right bracket symbol of the contract effects.

Link copied to clipboard
open override val supplement: NodeSupplement

Supplemental data for the node.