| antlr.collections.Enumerator
Enumerator | public interface Enumerator (Code) | | |
Method Summary | |
public Object | cursor() Return the element under the cursor; return null if !valid() or
if called before first next() call. | public Object | next() Return the next element in the enumeration; first call to next()
returns the first element. | public boolean | valid() |
cursor | public Object cursor()(Code) | | Return the element under the cursor; return null if !valid() or
if called before first next() call.
|
next | public Object next()(Code) | | Return the next element in the enumeration; first call to next()
returns the first element.
|
valid | public boolean valid()(Code) | | Any more elements in the enumeration?
|
|
|