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 Condition(Expression left, CompareSign compare, Expression right) { Compare = compare; Left = left; Right = right; NextTrue = null; NextFalse = null; }
public BinaryOperation(TypeOfOperations operation, Expression left, Expression right) { if (left == null) { throw new ArgumentNullException("left"); } if (right == null) { throw new ArgumentNullException("right"); } Left = left; Right = right; Operation = operation; }
public ElementOfArray(string name, Expression index) { Name = name; Index = index; }
public Print(Expression outExpr, IPrint printer) { OutExpr = outExpr; OutString = null; PrintInterface = printer; }
public Print(string outString, IPrint printer) { OutString = outString; OutExpr = null; PrintInterface = printer; }