- public Tok next(int numstates, int resets, int waits) throws IOException;
- public abstract Location getLocation();
+ /** returns the token just beyond the current location and advances beyond it */
+ public Token next(int numstates, int resets, int waits) throws IOException;
+
+ /** returns the location the input stream is currently at */
+ public Location getLocation();