001package gudusoft.gsqlparser.nodes; 002/* 003 * Date: 2011-1-13 004 * Time: 17:50:53 005 */ 006 007public class TDropIndexItemList extends TParseTreeNodeList <TDropIndexItem> { 008 009 public TDropIndexItemList() 010 { 011 } 012 013 public void addDropIndexItem(TDropIndexItem pItem) 014 { 015 addElement(pItem); 016 } 017 018 public TDropIndexItem getDropIndexItem(int position) 019 { 020 if (position < size()) 021 { 022 return (TDropIndexItem)elementAt(position); 023 }else{ 024 return null; 025 } 026 } 027 028 void addParseTreeNode(Object arg1){ 029 addDropIndexItem((TDropIndexItem)arg1); 030 } 031 032 public void accept(TParseTreeVisitor v){ 033 v.preVisit(this); 034 v.postVisit(this); 035 } 036// 037// public void acceptChildren(TParseTreeVisitor v){ 038// v.preVisit(this); 039// for(int i=0;i<this.size();i++){ 040// this.getDropIndexItem(i).acceptChildren(v); 041// } 042// v.postVisit(this); 043// } 044}