coins.sym
Class SymTableIteratorImpl

java.lang.Object
  extended bycoins.sym.SymTableIteratorImpl
All Implemented Interfaces:
SymTableIterator

public class SymTableIteratorImpl
extends java.lang.Object
implements SymTableIterator

SymTableIteratorImpl class


Field Summary
protected  SymTable fNextSymTable
           
protected  int fStackDepth
           
protected  java.util.ArrayList fSymTableStack
           
 
Constructor Summary
SymTableIteratorImpl(SymTable pSymTable)
           
 
Method Summary
 boolean hasNext()
          hasNext True if there are symbol tables remaining to be traversed.
 SymTable next()
          next Get next symbol table traversing in the order this, 1st child of this, 1st child of 1st child of this, ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fStackDepth

protected int fStackDepth

fSymTableStack

protected java.util.ArrayList fSymTableStack

fNextSymTable

protected SymTable fNextSymTable
Constructor Detail

SymTableIteratorImpl

public SymTableIteratorImpl(SymTable pSymTable)
Method Detail

next

public SymTable next()
Description copied from interface: SymTableIterator
next Get next symbol table traversing in the order this, 1st child of this, 1st child of 1st child of this, ... 2nd child of 1st child of this, ... ... 2nd child of this, 1st child of 2nd child of this, ... ... ... recursively.

Specified by:
next in interface SymTableIterator

hasNext

public boolean hasNext()
Description copied from interface: SymTableIterator
hasNext True if there are symbol tables remaining to be traversed.

Specified by:
hasNext in interface SymTableIterator