Interface Scanner
public interface Scanner
Defines the Scanner interface, which CUP uses in the default
implementation of
lr_parser.scan(). Integration
of scanners implementing Scanner is facilitated.- Version:
- last updated 23-Jul-1999
- Author:
- David MacMahon <davidm@smartsc.com>
-
Method Summary
-
Method Details
-
next_token
Delivers the next token.- Returns:
- The next token, or
nullon end-of-file. - Throws:
Exception- if any error occurs.
-