PrimaryConstructor
data class PrimaryConstructor(val modifiers: List<Node.Modifier>, val constructorKeyword: Node.Keyword.Constructor?, val lPar: Node.Keyword.LPar, val parameters: List<Node.FunctionParameter>, val rPar: Node.Keyword.RPar, val supplement: NodeSupplement = NodeSupplement()) : Node, Node.WithModifiers, Node.WithFunctionParameters
AST node that represents a primary constructor. The node corresponds to KtPrimaryConstructor.
Constructors
Link copied to clipboard
constructor(modifiers: List<Node.Modifier>, constructorKeyword: Node.Keyword.Constructor?, lPar: Node.Keyword.LPar, parameters: List<Node.FunctionParameter>, rPar: Node.Keyword.RPar, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
list of annotation sets.
Link copied to clipboard
constructor
keyword if exists, otherwise null
.
Link copied to clipboard
left parenthesis of the function parameters.
Link copied to clipboard
list of modifiers.
Link copied to clipboard
list of parameters of the constructor.
Link copied to clipboard
right parenthesis of the function parameters.
Link copied to clipboard
Supplemental data for the node.