ConstructorCallNode

class ConstructorCallNode(className: ClassNameNode, typeArguments: Arguments<ValueTypeNode>, labelArguments: Arguments<Located<LabelExpression>>?, protocol: ProtocolNode?, arguments: Arguments<ExpressionNode>, sourceLocation: SourceLocation) : ExpressionNode

Call to an object constructor. Used for out parameter initialization.

Constructors

ConstructorCallNode
Link copied to clipboard
fun ConstructorCallNode(className: ClassNameNode, typeArguments: Arguments<ValueTypeNode>, labelArguments: Arguments<Located<LabelExpression>>?, protocol: ProtocolNode?, arguments: Arguments<ExpressionNode>, sourceLocation: SourceLocation)

Functions

toDocument
Link copied to clipboard
override fun toDocument(): Document

Properties

arguments
Link copied to clipboard
val arguments: Arguments<ExpressionNode>
className
Link copied to clipboard
val className: ClassNameNode
comment
Link copied to clipboard
override val comment: String?

Expressions cannot have associated comments.

labelArguments
Link copied to clipboard
val labelArguments: Arguments<Located<LabelExpression>>?
protocol
Link copied to clipboard
val protocol: ProtocolNode?
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation
typeArguments
Link copied to clipboard
val typeArguments: Arguments<ValueTypeNode>