// WordToken.java /** * The WordToken class is used to represent words. * * @author Fredrik Kilander for ID1006 */ public class WordToken extends Token { /** * Creates a new WordToken initialized to the first character. * * @param c The first character in the new token. */ public WordToken (char c) { super (c); } } // class WordToken