DeclarationNode

class DeclarationNode(val variable: ObjectVariableNode, val initializer: ExpressionNode, val sourceLocation: SourceLocation, val comment: String? = null) : SimpleStatementNode

Constructing a new object and binding it to a variable.

Constructors

Link copied to clipboard
fun DeclarationNode(variable: ObjectVariableNode, initializer: ExpressionNode, sourceLocation: SourceLocation, comment: String? = null)

Functions

Link copied to clipboard
override fun toDocument(): Document

Properties

Link copied to clipboard
open override val comment: String? = null
Link copied to clipboard
Link copied to clipboard
open override val sourceLocation: SourceLocation
Link copied to clipboard