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 TypeMethod and Description
public Symbol
next_token()

Return the next token, or null on end-of-file.

Method Detail

next_tokenback to summary
public Symbol next_token() throws Exception

Return the next token, or null on end-of-file.