start of new file
[IRC.git] / Robust / JavaGrammar / Parse / Lexer.java
1 package Parse;
2
3 /* Lexer.java.  Copyright (C) 1998 C. Scott Ananian.
4  * This program is free software; see the file COPYING for more details.
5  */
6
7 public interface Lexer {
8     public java_cup.runtime.Symbol nextToken() throws java.io.IOException;
9     /** report an error */
10     public void errorMsg(String msg, java_cup.runtime.Symbol info);
11     /** return the number of errors reported */
12     public int numErrors();
13 }