Assignment

class Assignment(val lhs: Expression, val rhs: Expression) : Statement

The assignment of a value to a location. The assignment target can be a variable or field, and can be indexed.

Constructors

Link copied to clipboard
fun Assignment(lhs: Expression, rhs: Expression)

Properties

Link copied to clipboard
val lhs: Expression

an expression evaluating to the assignment target.

Link copied to clipboard
val rhs: Expression

an expression evaluating to the value to assign.