001package gudusoft.gsqlparser.nodes;
002
003public class TExceptionHandlerList extends TParseTreeNodeList <TExceptionHandler>{
004    public TExceptionHandlerList()
005    {
006    }
007
008    public void addExceptionHandler(TExceptionHandler groupByItem)
009    {
010        addElement(groupByItem);
011    }
012
013    public TExceptionHandler getExceptionHandler(int position)
014    {
015        if (position < size())
016        {
017            return (TExceptionHandler)elementAt(position);
018        }else{
019        return null;
020        }
021    }
022
023    void addParseTreeNode(Object arg1){
024        addExceptionHandler((TExceptionHandler)arg1);
025    }
026
027    public void accept(TParseTreeVisitor v){
028        v.preVisit(this);
029        v.postVisit(this);
030    }
031//
032//    public void acceptChildren(TParseTreeVisitor v){
033//        v.preVisit(this);
034//        for(int i=0;i<this.size();i++){
035//            this.getExceptionHandler(i).acceptChildren(v);
036//        }
037//        v.postVisit(this);
038//    }
039
040}