Example #1
0
 public void Remove(Statement stmt)
 {
     list.Remove(stmt);
 }
Example #2
0
 public StatementList(Statement s)
     : this()
 {
     list.Add(s);
 }
Example #3
0
 public IF(Expression expr, Statement stmt, ArrayList elseif_list, Statement else_stmt, int line, int column)
     : base(line, column)
 {
     this.expr = expr;
     this.stmt = stmt;
     this.elseif_list = elseif_list;
     this.else_stmt = else_stmt;
 }
Example #4
0
 public void Add(Statement s)
 {
     list.Add(s);
 }
Example #5
0
 public FOREACH(Expression array, Expression key, Expression value, Statement stmt, int line, int column)
     : base(line, column)
 {
     this.array = array;
     this.key = key;
     this.value = value;
     this.stmt = stmt;
 }
Example #6
0
 public FOR(ExpressionList expr_list1, ExpressionList expr_list2, ExpressionList expr_list3, Statement stmt, int line, int column)
     : base(line, column)
 {
     this.expr_list1 = expr_list1;
     this.expr_list2 = expr_list2;
     this.expr_list3 = expr_list3;
     this.stmt = stmt;
 }
Example #7
0
 public ELSEIF(Expression expr, Statement stmt, int line, int column)
     : base(line, column)
 {
     this.expr = expr;
     this.stmt = stmt;
 }
Example #8
0
 public DO(Statement stmt, Expression expr, int line, int column)
     : base(line, column)
 {
     this.stmt = stmt;
     this.expr = expr;
 }
Example #9
0
 public DEFAULT(Statement stmt, int line, int column)
     : base(line, column)
 {
     this.stmt = stmt;
 }