Variable
data class Variable( val annotationSets: List<Node.Modifier.AnnotationSet>, val name: Node.Expression.NameExpression, val type: Node.Type?, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithAnnotationSets
AST node that represents a variable. The node corresponds to KtDestructuringDeclarationEntry, a part of KtProperty, or KtParameter whose child is IDENTIFIER.
Constructors
Link copied to clipboard
constructor( annotationSets: List<Node.Modifier.AnnotationSet>, name: Node.Expression.NameExpression, type: Node.Type?, supplement: NodeSupplement = NodeSupplement())