3 /* Lexer.java. Copyright (C) 1998 C. Scott Ananian.
4 * This program is free software; see the file COPYING for more details.
7 public interface Lexer {
8 public java_cup.runtime.Symbol nextToken() throws java.io.IOException;
10 public void errorMsg(String msg, java_cup.runtime.Symbol info);
11 /** return the number of errors reported */
12 public int numErrors();