Assignment

interface Assignment

An assignment assigns a certain value (usually an Expression) to a certain target.

Properties

Link copied to clipboard
abstract val target: AssignmentTarget?

The target of this assignment. Note that this is intentionally nullable, because while BinaryOperator implements Assignment, not all binary operations are assignments. Thus, the target is only non-null for operations that have a == operator.

Link copied to clipboard
abstract val value: Expression?

The value expression that is assigned to the target. This is intentionally nullable for the same reason as target.

Inheritors

Link copied to clipboard
Link copied to clipboard