AssignmentNode

to store assignment statements

Constructors

this
this(VariableNode variable, CodeNode[] varIndexes, CodeNode value, bool deref)

constructor

Members

Variables

deref
bool deref;

stores whether the assignment is to a variable (false) or if it has to dereference first (true)

indexes
CodeNode[] indexes;

stores the how "deeper" dimension of the array the value has to be assigned to

lineno
uinteger lineno;

the line number (starts from 1) from which this node begins, or ends

val
CodeNode val;

the value to assign

var
VariableNode var;

the variable to assign to

Meta