package rebelsky.compiler.lexer;

/**
 * Simple symbols for a tokenizer.  These symbols are the symbols
 * that appear in a program, rather than the symbols that appear
 * in a grammar.
 *
 * @author Samuel A. Rebelsky
 * @version 1.0 of October 2002
 */
public class ProgramSymbol
  extends NamedToken
{
  // +--------------+-------------------------------------------------------
  // | Constructors |
  // +--------------+

  public ProgramSymbol(String name, int toktype) {
    super(name,toktype);
  } // ProgramSymbol(String)

  // +-----------+----------------------------------------------------------
  // | Observers |
  // +-----------+

  public String toString() {
    return "SYM[" + this.name + "]";
  } // toString()

} // class ProgramSymbol

