Exemplo n.º 1
0
 public IfThenStatement(BooleanOperation condition, Block onTrue)
 {
     Add(condition);
     Add(onTrue);
 }
 public IfThenStatement(BooleanOperation condition, Block onTrue)
 {
     Add(condition);
     Add(onTrue);
 }
Exemplo n.º 3
0
 public IfThenElseStatement(BooleanOperation condition,
                            Block onTrue, Block onFalse)
     : base(condition, onTrue)
 {
     Add(onFalse);
 }
Exemplo n.º 4
0
 public override Operation Coalesce()
 {
     Body = (Block)Body.Coalesce();
     Condition = (BooleanOperation)Condition.Coalesce();
     return this;
 }
        public IfThenElseStatement(BooleanOperation condition, 
				Block onTrue, Block onFalse)
            : base(condition, onTrue)
        {
            Add(onFalse);
        }
Exemplo n.º 6
0
 public DoWhileLoopOperation(Block body, BooleanOperation condition)
 {
     Add(body);
     Add(condition);
 }
Exemplo n.º 7
0
        public WhileLoopOperation(BooleanOperation condition,
				Block body)
        {
            Add(condition);
            Add(body);
        }
Exemplo n.º 8
0
 public WhileLoopOperation(BooleanOperation condition,
                           Block body)
 {
     Add(condition);
     Add(body);
 }
Exemplo n.º 9
0
 public override Operation Coalesce()
 {
     Body      = (Block)Body.Coalesce();
     Condition = (BooleanOperation)Condition.Coalesce();
     return(this);
 }
Exemplo n.º 10
0
 public DoWhileLoopOperation(Block body, BooleanOperation condition)
 {
     Add(body);
     Add(condition);
 }