X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FToken.java;h=1014a55650d021bd4f051094c18631f6b6aeb6e4;hp=41ef3d1401abaae141d2d2ced727183c106b1c17;hb=e14f41fe193ceef8dfd8b4bc2f327e3550231a4c;hpb=fd97655ce34c3aff1a47bfb2f45775ac711923b1 diff --git a/src/edu/berkeley/sbp/Token.java b/src/edu/berkeley/sbp/Token.java index 41ef3d1..1014a55 100644 --- a/src/edu/berkeley/sbp/Token.java +++ b/src/edu/berkeley/sbp/Token.java @@ -15,11 +15,11 @@ public interface Token { /** a sequence of input tokens; returns null when EOF is reached */ public static interface Stream { - public T next() throws IOException; + public T next(int numstates, int resets, int waits) throws IOException; public abstract Location getLocation(); } - /** a location within the input stream */ + /** a location *between tokens* in the input stream */ public static interface Location { public String toString(); }