X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Fedu%2Fberkeley%2Fsbp%2FToken.java;h=faa02b915fcfecf8adccbae858632c80184b6a2e;hb=799bc0f3253172bd0cc3b54c90566825ac1a51c9;hp=196f5cacdec082d01b3f88b33c4fa3cfaa627f03;hpb=0a0227b9180534d2a431f3d6e08a398bde2244c4;p=sbp.git diff --git a/src/edu/berkeley/sbp/Token.java b/src/edu/berkeley/sbp/Token.java index 196f5ca..faa02b9 100644 --- a/src/edu/berkeley/sbp/Token.java +++ b/src/edu/berkeley/sbp/Token.java @@ -10,10 +10,6 @@ import edu.berkeley.sbp.*; /** a token of input -- note that this represents an actual input token rather than an Element which matches a token */ public interface Token { - // FIXME!!! remove this - /** converts this Token into a standalone result (ie for a non-rewriting pattern) */ - public String result(); - /** this is declared abstract as a way of forcing subclasses to provide a thoughtful implementation */ public abstract String toString(); @@ -27,7 +23,6 @@ public interface Token { /** a location within the input stream */ public static interface Location { public String toString(); - public String getContext(); } }