public void Remove(Statement stmt) { list.Remove(stmt); }
public StatementList(Statement s) : this() { list.Add(s); }
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; }
public void Add(Statement s) { list.Add(s); }
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; }
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; }
public ELSEIF(Expression expr, Statement stmt, int line, int column) : base(line, column) { this.expr = expr; this.stmt = stmt; }
public DO(Statement stmt, Expression expr, int line, int column) : base(line, column) { this.stmt = stmt; this.expr = expr; }
public DEFAULT(Statement stmt, int line, int column) : base(line, column) { this.stmt = stmt; }