public IfThenStatement(BooleanOperation condition, Block onTrue) { Add(condition); Add(onTrue); }
public IfThenElseStatement(BooleanOperation condition, Block onTrue, Block onFalse) : base(condition, onTrue) { Add(onFalse); }
public override Operation Coalesce() { Body = (Block)Body.Coalesce(); Condition = (BooleanOperation)Condition.Coalesce(); return this; }
public DoWhileLoopOperation(Block body, BooleanOperation condition) { Add(body); Add(condition); }
public WhileLoopOperation(BooleanOperation condition, Block body) { Add(condition); Add(body); }
public override Operation Coalesce() { Body = (Block)Body.Coalesce(); Condition = (BooleanOperation)Condition.Coalesce(); return(this); }