Example #1
0
 public ForNode(AssignNode assign, ExprNode bord, ExprNode inc, StatementNode body)
 {
     Assign = assign;
     Border = bord;
     Inc    = inc;
     Body   = body;
 }
 public ForNode(AssignNode assign, ExprNode cond, ExprNode inc, StatementNode stat)
 {
     Assign = assign;
     Cond   = cond;
     Inc    = inc;
     Stat   = stat;
 }
Example #3
0
 public ForNode(AssignNode assign, ExprNode bord, StatementNode body) : this(assign, bord, new IntNumNode(1), body)
 {
 }
 public ForNode(AssignNode assign, ExprNode cond, StatementNode stat) : this(assign, cond, null, stat)
 {
 }