package rebelsky.compiler.misc; /** * Symbols used in lexing and parsing. That is, the superclass of * both terminals and nonterminals. * * @author Samuel A. Rebelsky * @version 1.0 of October 2002 */ public interface Symbol { /** * Convert the symbol to a string (e.g., for printing). */ public String toString(); } // interface Symbol