gnu.bytecode

Class VarEnumerator

public class VarEnumerator extends Object implements Enumeration

Use this Enuemration class to iterate over the Variables in a Scope. Descends into child scopes.
Constructor Summary
VarEnumerator(Scope scope)
Method Summary
booleanhasMoreElements()
ObjectnextElement()
VariablenextVar()
Return the next Variable in the Scope tree, or null if done.
voidreset()

Constructor Detail

VarEnumerator

public VarEnumerator(Scope scope)

Method Detail

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()