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())