Package gnu.bytecode

Class VarEnumerator

  • All Implemented Interfaces:
    Enumeration

    public class VarEnumerator
    extends Object
    implements Enumeration
    Use this Enuemration class to iterate over the Variables in a Scope. Descends into child scopes.
    • Constructor Detail

      • VarEnumerator

        public VarEnumerator​(Scope scope)
    • Method Detail

      • reset

        public final void reset()
      • nextVar

        public final Variable nextVar()
        Return the next Variable in the Scope tree, or null if done.