gnu.bytecode
Class VarEnumerator
java.lang.Object
gnu.bytecode.VarEnumerator
- java.util.Enumeration
public class VarEnumerator
extends java.lang.Object
implements java.util.Enumeration
Use this Enuemration class to iterate over the Variables in a Scope.
Descends into child scopes.
VarEnumerator
public VarEnumerator(Scope scope)
hasMoreElements
public final boolean hasMoreElements()
nextElement
public Object nextElement()
nextVar
public final Variable nextVar()
Return the next Variable in the Scope tree, or null if done.
reset
public final void reset()