Setter
data class Setter(val modifiers: List<Node.Modifier>, val lPar: Node.Keyword.LPar?, val parameter: Node.FunctionParameter?, val rPar: Node.Keyword.RPar?, val postModifiers: List<Node.PostModifier>, val body: Node.Expression?, val supplement: NodeSupplement = NodeSupplement()) : Node.Declaration.PropertyDeclaration.Accessor
AST node that represents a property setter.
Constructors
Link copied to clipboard
constructor(modifiers: List<Node.Modifier>, lPar: Node.Keyword.LPar?, parameter: Node.FunctionParameter?, rPar: Node.Keyword.RPar?, postModifiers: List<Node.PostModifier>, body: Node.Expression?, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
list of annotation sets.
Link copied to clipboard
body of the setter if exists, otherwise null
.
Link copied to clipboard
left parenthesis if exists, otherwise null
.
Link copied to clipboard
list of modifiers.
Link copied to clipboard
parameter of the setter if exists, otherwise null
.
Link copied to clipboard
post-modifiers of the setter.
Link copied to clipboard
right parenthesis if exists, otherwise null
.
Link copied to clipboard
Supplemental data for the node.