package rebelsky.compiler.types;

/**
 * The basic types we deal with in Pascal programs.
 *
 * @author Samuel A. Rebelsky
 * @version 1.0 of April 2004
 */
public class BasicTypes
{
  // +-----------+---------------------------------------------------------
  // | Constants |
  // +-----------+

  /**
   * Integers:  0, its successors, and its predecessors.
   */
  public static final Type INTEGER = new Type("Integer");

  /**
   * Real numbers: Numbers that may not be whole.
   */
  public static final Type REAL = new Type("Real");
 
  /**
   * Strings: Sequences of characters.
   */
  public static final Type STRING = new Type("String");

  /**
   * Characters: Components of strings.  (How's that for mutual recursion?)
   */
  public static final Type CHAR = new Type("Char");

  /**
   * Boolean: Truth values (true or false).
   */
  public static final Type BOOLEAN = new Type("Boolean");

} // class BasicTypes

