internal void Reset(int restQueue) { term=null; index=cnt=regLen=0; mCurrent=null; cCurrent=null; isState=false; SearchEntry on=this.on; if(on!=null) { if(restQueue>0) on.Reset(restQueue-1); else { this.on=null; on.sub=null; } } }