public Assignment(ElementOfArray array, Nodes.Expression expr, Node.Coords coords) { Var = null; Value = expr; Array = array; this.Coords = coords; }
public Assignment(Variable var, Nodes.Expression expr, Node.Coords coords) { Var = var; Value = expr; Array = null; this.Coords = coords; }
public If(Condition condition, Statement ifBlock, Statement elseBlock, End end, Node.Coords coords) { Condition = condition; IfBlock = ifBlock; ElseBlock = elseBlock; Head = condition; Tail = end; this.Coords = coords; }
public For(Assignment assn, Condition cond, Assignment chngAssn, Statement first, End end, Node.Coords coords) { Assignment = assn; Condition = cond; ChngAssignment = chngAssn; FirstStatement = first; Head = assn; Tail = end; this.Coords = coords; }