Class Assignment

java.lang.Object
org.ek9lang.compiler.ir.Assignment
All Implemented Interfaces:
INode

public final class Assignment extends Object implements INode
Models a simple assignment of a value to a variable. In the EK9 this is pretty much just a reference being taken. For implementations like llvm this will probably need to trigger a reference counting increment to the actual bit of memory used. Likewise with this variable (that has been assigned to) goes out of scope it will be necessary to decrement the reference count.