polyglot.lex
Interface Lexer

All Known Implementing Classes:
Lexer_c, Lexer_c, Lexer_c, Lexer_c

public interface Lexer

The interface "Lexer" describes lexers produced by JFlex for Polyglot.


Field Summary
static int YYEOF
          This character denotes the end of file
 
Method Summary
 java.lang.String file()
          The file being scanned, for use in constructing diagnostic messages.
 Token nextToken()
          Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.
 

Field Detail

YYEOF

static final int YYEOF
This character denotes the end of file

See Also:
Constant Field Values
Method Detail

file

java.lang.String file()
The file being scanned, for use in constructing diagnostic messages.


nextToken

Token nextToken()
                throws java.io.IOException
Resumes scanning until the next regular expression is matched, the end of input is encountered or an I/O-Error occurs.

Returns:
the next token
Throws:
IOException - if any I/O-Error occurs