gnu.bytecode

Class VarEnumerator

Implemented Interfaces:
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.

Constructor Summary

VarEnumerator(Scope scope)

Method Summary

boolean
hasMoreElements()
Object
nextElement()
Variable
nextVar()
Return the next Variable in the Scope tree, or null if done.
void
reset()

Constructor Details

VarEnumerator

public VarEnumerator(Scope scope)

Method Details

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