01: package ro.infoiasi.donald.compiler.parser; 02: 03: import ro.infoiasi.donald.compiler.cfg.*; 04: import java.io.*; 05: 06: public interface Lexer { 07: void setTerminals(Terminals t); 08: 09: Token nextToken() throws IOException; 10: }