Top Fields Constructors Methods
java_cup.simple_calc

public Class scanner

extends Object
implements Scanner
Class Inheritance
All Implemented Interfaces
java_cup.runtime.Scanner
Imports
java_cup.runtime.Symbol

Field Summary

Modifier and TypeField and Description
pack-priv final InputStream
protected int

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected void
private void
init()

public Symbol
next_token()

Implements java_cup.runtime.Scanner.next_token.

Return the next token, or null on end-of-file.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instreamback to summary
pack-priv final InputStream instream
next_charback to summary
protected int next_char

Constructor Detail

scannerback to summary
public scanner(InputStream is) throws IOException
scannerback to summary
public scanner() throws IOException

Method Detail

advanceback to summary
protected void advance() throws IOException
initback to summary
private void init() throws IOException
next_tokenback to summary
public Symbol next_token() throws IOException

Implements java_cup.runtime.Scanner.next_token.

Doc from java_cup.runtime.Scanner.next_token.

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