import java.io.PrintWriter;
import rebelsky.compiler.parser.Node;
import rebelsky.compiler.parser.TreePrinter;

public class Davis
{
  public static Checker checkRepeatStatement = new Checker() {
    public void check(Walker w, Node n)
      throws Exception
    {
      System.out.println("Found a repeat loop!");
      TreePrinter.print(n, new PrintWriter(System.out, true));
    } // check(Walker w, Node n)
  };
} // class Davis

