java-cup 10k
java_cup.runtime
Scanner
Top
Description
Methods
java_cup.runtime
public
Interface Scanner
Known Direct Implementers
java_cup.
simple_calc.
scanner
Defines the Scanner interface, which CUP uses in the default implementation of
lr_parser.scan()
. Integration of scanners implementing
Scanner
is facilitated.
Author
David MacMahon
Version
last updated 23-Jul-1999
Method Summary
Modifier and Type
Method and Description
public
Symbol
next_token
()
Return the next token, or
null
on end-of-file.
Method Detail
next_token
back to summary
public
Symbol
next_token
()
throws
Exception
Return the next token, or
null
on end-of-file.