Getter
data class Getter(val modifiers: List<Node.Modifier>, val lPar: Node.Keyword.LPar?, val rPar: Node.Keyword.RPar?, val type: Node.Type?, val postModifiers: List<Node.PostModifier>, val body: Node.Expression?, val supplement: NodeSupplement = NodeSupplement()) : Node.Declaration.PropertyDeclaration.Accessor
AST node that represents a property getter.
Constructors
Link copied to clipboard
constructor(modifiers: List<Node.Modifier>, lPar: Node.Keyword.LPar?, rPar: Node.Keyword.RPar?, type: Node.Type?, 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 getter 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
post-modifiers of the getter.
Link copied to clipboard
right parenthesis if exists, otherwise null
.
Link copied to clipboard
Supplemental data for the node.