SecondaryConstructor
data class SecondaryConstructor(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 delegationCall: Node.Expression.CallExpression?, val block: Node.Expression.BlockExpression?, val supplement: NodeSupplement = NodeSupplement()) : Node.Declaration, Node.WithModifiers, Node.WithFunctionParameters
AST node that represents a secondary constructor. The node corresponds to KtSecondaryConstructor.
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, delegationCall: Node.Expression.CallExpression?, block: Node.Expression.BlockExpression?, supplement: NodeSupplement = NodeSupplement())
Properties
Link copied to clipboard
list of annotation sets.
Link copied to clipboard
block of the constructor if exists, otherwise null
.
Link copied to clipboard
constructor
keyword.
Link copied to clipboard
delegation call expression of the secondary constructor 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 secondary constructor.
Link copied to clipboard
right parenthesis of the function parameters.
Link copied to clipboard
Supplemental data for the node.