Exemplo n.º 1
0
 public BooleanUnaryNotEval(BooleanEval booleanEval)
 {
     BooleanEval = booleanEval;
 }
Exemplo n.º 2
0
 public BooleanBooleanEqualityEval(BooleanEval booleanEval1, BooleanEval booleanEval2)
 {
     BooleanEval1 = booleanEval1;
     BooleanEval2 = booleanEval2;
 }
Exemplo n.º 3
0
 public While(BooleanEval numberEval, Command[] commands)
 {
     BooleanEval = numberEval;
     Commands    = new List <Command>(commands);
 }
Exemplo n.º 4
0
 public BooleanAndEval(BooleanEval booleanEval1, BooleanEval booleanEval2)
 {
     BooleanEval1 = booleanEval1;
     BooleanEval2 = booleanEval2;
 }
Exemplo n.º 5
0
 // We can only set the Then-Commands when creating the If. We can set the Else later
 // but only if it actually exists!
 public If(BooleanEval booleanEval, Command[] thenCommands)
 {
     BooleanEval  = booleanEval;
     ThenCommands = new List <Command>(thenCommands);
     ElseCommands = new List <Command>();
 }