package Frame;

/**
 * A list of information on accessing variables, developed as part
 * of the Tiger compilation process.
 * <p>
 * <strong>History</strong>
 * <dl>
 * <dt>7 December 1998 (version 0.1)
 * <dd>Built from examples in Appel's book.
 * <dt>8 December 1998 (version 0.2)
 * <dd>Made a regular class, rather than an abstract class (there is
 *   no clear benefit to making this an abstract class).
 * <dd>Added a constructor.
 * </dl>
 *
 * @author Samuel A. Rebelsky
 * @author Andrew Appel
 * @version 0.2 of 8 December 1998
 */
public class AccessList {
  // +--------+--------------------------------------------------
  // | Fields |
  // +--------+

  /**
   * The first element of the list.
   */
  public Access head;

  /**
   * Everything else in the list.
   */
  public AccessList tail;
  
  // +---------+-------------------------------------------------
  // | Methods |
  // +---------+

  /**
   * Build a new list with designated head and tail.
   */
  public AccessList(Access head, AccessList tail) {
    this.head = head;
    this.tail = tail;
  } // AccessList(Access,AccessList)

} // class AccessList

