com.croftsoft.core.util.jlex
Interface TokenScanner


public interface TokenScanner

Interface for token scanners. Reference:

"JLex: A Lexical Analyzer Generator for Java"
http://www.cs.princeton.edu/~appel/modern/java/JLex/

Version:
1999-02-10
Author:
David Wallace Croft

Method Summary
 Token nextToken()
          Fetches the next Token from the input stream.
 

Method Detail

nextToken

Token nextToken()
                throws IOException
Fetches the next Token from the input stream.

Returns:
The next Token or, if the end of the file is reached, null.
Throws:
IOException

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)