Interface Scanner

All Known Implementing Classes:
LexerR7, TslLexer

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> CHECKSTYLE:OFF
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the next token, or null on end-of-file.
  • Method Details