add dir stack,add class stack&seqstack