Package java_cup.runtime
Interface Scanner
-
- All Known Implementing Classes:
ScannerBuffer
public interface ScannerDefines the Scanner interface, which CUP uses in the default implementation oflr_parser.scan(). Integration of scanners implementingScanneris facilitated.- Version:
- last updated 23-Jul-1999
- Author:
- David MacMahon
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Symbolnext_token()Return the next token, ornullon end-of-file.
-
-
-
Method Detail
-
next_token
Symbol next_token() throws java.lang.Exception
Return the next token, ornullon end-of-file.- Throws:
java.lang.Exception
-
-