Beispiel #1
0
 public Assignment(ElementOfArray array, Nodes.Expression expr, Node.Coords coords)
 {
     Var = null;
     Value = expr;
     Array = array;
     this.Coords = coords;
 }
Beispiel #2
0
 public Assignment(Variable var, Nodes.Expression expr, Node.Coords coords)
 {
     Var = var;
     Value = expr;
     Array = null;
     this.Coords = coords;
 }
Beispiel #3
0
 public Condition(Expression left, CompareSign compare, Expression right)
 {
     Compare = compare;
     Left = left;
     Right = right;
     NextTrue = null;
     NextFalse = null;
 }
Beispiel #4
0
 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;
 }
Beispiel #5
0
 public ElementOfArray(string name, Expression index)
 {
     Name = name;
     Index = index;
 }
Beispiel #6
0
 public Print(Expression outExpr, IPrint printer)
 {
     OutExpr = outExpr;
     OutString = null;
     PrintInterface = printer;
 }
Beispiel #7
0
 public Print(string outString, IPrint printer)
 {
     OutString = outString;
     OutExpr = null;
     PrintInterface = printer;
 }