AssignmentNode

data class AssignmentNode(lineNumber: Int, identifier: AssignLHS, expression: ExpressionNode) : CodeNode, DeclarationOrAssignment

Assignment node

Constructors

AssignmentNode
Link copied to clipboard
fun AssignmentNode(lineNumber: Int, identifier: AssignLHS, expression: ExpressionNode)
Create empty Assignment node

Functions

component1
Link copied to clipboard
operator fun component1(): Int
component2
Link copied to clipboard
operator fun component2(): AssignLHS
component3
Link copied to clipboard
operator fun component3(): ExpressionNode
copy
Link copied to clipboard
fun copy(lineNumber: Int, identifier: AssignLHS, expression: ExpressionNode): AssignmentNode
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

expression
Link copied to clipboard
open override val expression: ExpressionNode
identifier
Link copied to clipboard
open override val identifier: AssignLHS
lineNumber
Link copied to clipboard
open override val lineNumber: Int